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?
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."
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.