Cron Email Locally

Residual Envy asked:

I have my crontab configured to mail to a specific address, for example purposes lets say “[email protected]”. is also the host name of my box, however I have my mx email records configured externally to point at gmail domain. All emails work fine going to and I log into there no problem.

However with crontab and I’m assuming other processes it sends the email locally, again assuming it thinks it should be accepting all emails going to .

Suggestions on how to fix this without breaking outgoing emails sending from the address?

Updated, the mail server is sendmail here is the config file:

My answer:

Rename the computer. Anything that’s not would be sufficient. After all, this computer almost certainly isn’t. Perhaps or

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.