I have a problem that is driving me nuts. We route all our Unix/Linux mail through an internal SMTP relay server to our externally hosted Exchange server. This week I installed a new SMTP server and updated the /etc/mail/submit.cf files on all the Linux machines (mostly RH 4) to point to the new server. Works like a charm. However my Solaris boxes are being a pain. When I update them, mail destined for "internal" email addresses is never delivered, but mail sent to to "external" email addresses is delivered just fine.
The entries I am changing in the submit.cf are below:
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
Djmydomainname.com
# "Smart" relay host (may be null)
#DSmyrelayserver.mydomainn
ame.com
Mail sent to "joe" or "joe@mydomainname.com" are not delivered. Mail sent to "joe@yahoo.com" are delivered.
Using the following commands to send mail
mail joe -s test - Does not work
mail joe@mydomainname.com -s test - Does not work
mail joe@yahoo.com -s test - WORKS
What am I missing?
Thanks in advance,
Lewis