Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail

Status
Not open for further replies.

TheDash

MIS
Mar 25, 2004
171
US
hi,

I was trying to send a mail using unix mail program. I used xx@yahoo.com. It won't send it. If I use the intranet address it sends. Could someone shed some light?
 
you have problems with the DNS configuration in you unix system (whom is sending the mail). your UX is not resolving the @yahoo.com

 
Could you suggest what should be done to let it recognize @yahoo.com?
 
it depends:

linux? /etc/resolv.conf
hp-ux? /etc/resolv.conf (or use SAM)
solaris? /etc/resolv.conf (or use admintools)
AIX? not sure (use SMIT)
SCO?
Dynix?
Tru64?
 
If you have a working SMTP server, edit /etc/sendmail.cf (or wherever your config file may lie)
Search for DS to find:
# "Smart" relay host (may be null)
# Relay host to forward outgoing mail not in the local domain to.
# To forward ALL mail to this relay host, uncomment the appropriate
# rule in ruleset 0, as indicated by the ruleset's comments.
#DSmailer:relayhostname

Insert:
DSsmtpservername

Hope that helps.


"If you always do what you've always done, you will always be where you've always been."
 
Hi,

I searched for DS. I found three lines. # "Smart" relay host has something under. Others have nothing (all description lines are commented)

# "Smart" relay host (may be null)
DS

# Relay all non-local mail to the "Smart" relay host (DS) via smtp:

# Relay all non-local mail to the "Smart" relay host (DS) via UUCP:

I dont see DSsmtpserver. Any ideas?
 
Your name resolution is the last thing to check. You need sendmail, or whatever local MTA is responsible for
non-local delivery to know about how you plan to send mail and
what the MTA is supposed to do about it.
Hire a consultant if you are lost at this point.
Sendmail will give up on name resolution and still send
to a smart_host if everything else in the config is sane.

Example:
Say you have standalone hosts that need sender addresses
translated to correct destination recipient addresses and for all mail to be sent to a remote host(s).
Using sendmail-genericstable, smart_hub and smart_host
fulfill these requirements. If your local machine can't
resolve it's name sendmail will complain, time out and
forward the mail.
Been there and done it ;)
 
marsd, could you please clarify it again. So, what should I do now? Please clarify. I also showed how my /etc/sendmail.cf looks at this time.
 
Sorry

I meant DS<smtpserver>
<smtpserver would be the name or IP address of an SMTP server you have access to.




&quot;If you always do what you've always done, you will always be where you've always been.&quot;
 
Hi,

Could you tell how we can know the address of SMTP server that this system has access to? Any command?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top