I have my crontab configured to mail to a specific address, for example purposes lets say "[email protected]". test.com 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 test.com 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 test.com .
Suggestions on how to fix this without breaking outgoing emails sending from the test.com address?
Updated, the mail server is sendmail here is the config file: http://pastebin.com/4sSApB1y