This is a problem I\'m sure is easy to fix, but I\'ve been banging my head on it all day.
I\'m developing a new web site for a client. The web site resides at (this
Sendmail by default guesses list of local email domains. It can be turned off using the following line in your sendmail.mc file:
define(`confDONT_PROBE_INTERFACES',`True')
As root list local email domains before and after the change using:
echo '$=w' | sendmail -Am -bt
You will see which domains should be added "manually" to (usually) /etc/mail/local-host-names file after disabling auto-guessing.
After changing sendmail.mc:
sendmail.cf file