My PHP app is now sending mail via Exim just fine to everywhere but Gmail.
Weirdly, if I send to Gmail via the command line, like
Quote:
echo "This is test 1." | mail -s Testing_1
redacted@gmail.comthe message arrives promptly in the inbox.
BUT
When my PHP app sends a message to Gmail, their servers appear (based on the Exim logfile) to accept the message without error, but the message never arrives in the inbox (or spam folder). I have tried several different Gmail addresses with the same result.
Here's an example of a happy-looking logfile message:
2014-01-09 11:52:54 1W1JmV-0000Eh-Cw =>
redacted@gmail.com R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [2607:f8b0:400d:c02::1a] X=TLS1.2:RSA_ARCFOUR_SHA1:128 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com"
But if I log into Gmail as
redacted@gmail.com, there is no message in the inbox or in spam.
Best I can tell, I have a valid SPF record that authorizes linode to send mail for my domain. Not sure what other sins I could be committing.
Any ideas?