Google App and Sendmail: Why doesn't the mail go?

Asked byholly hatfield rogai


The mail server has been configured for Gmail by Google Apps. There was a need to configure SPF and DKIM checking of outgoing mail from the server, generated by scripts via php mail and sendmail. It turned out to be configured only by raising the mail server on the local machine. Mail goes, comes, passes checks.

But if the script sends the letter to the internal mailing address (one of the created ones), then sendmail sends it to the local machine, and not to Gmail. DNS are configured. If you remove a host from local-host-names, then everything starts working correctly again, but does not pass the SPF and DKIM checks.

Where to dig? What to do?

CentOS 6, sendmail, dovecot.


kelsey reckling
How fast is your Macbook performing simple operations? :: What is the reason to draw the prototype of the online store interface? :: Is live edit plugin available for sublime text? :: What is the i8042_command function in Linux? :: How beautiful to realize autoreconnect without increasing?
Leave Repply forGoogle App and Sendmail: Why doesn't the mail go?
Useful Links