Sendmail on webserver.mydomain.com is sending all emails properly except email addressed to [email protected].
mydomain.com's mail is not handled locally and mx records are configured to point to the appropriate mailserver. But mail sent from sendmail seems to be relayed off the local server instead of the mailserver where the mx records point.
I removed mydomain.com from /etc/mail/local-host-names and restarted sendmail but to no avail. The mail log shows sendmail connecting to the local relay 127.0.0.1 and returning a "User unknown" message.
mydomain.com
on lists of local email domains provided by the commands below?echo '$=w' | sendmail -bt
,echo '$=w' | sendmail -bt -O DontProbeInterfaces=Trues
Is it "this host email name"?echo '$j' | sendmail -bt
sendmail: fatal: unsupported: -bt