Gmail rejecting emails from the site
Issue #4
resolved
Email from our site (password reset, contact hosts) are being rejected by gmail recipients. This is because gmail requires additional things for IPv6.
relay=gmail-smtp-in.l.google.com[2607:f8b0:400d:c02::1b]:25, delay=0.48, delays=0.04/0/0.15/0.29, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[2607:f8b0:400d:c02::1b] said: 550-5.7.1 [2600:3c03::f03c:91ff:fe59:7a05] Our system has detected that this 550-5.7.1 message does not meet IPv6 sending guidelines regarding PTR records 550-5.7.1 and authentication. Please review 550-5.7.1 https://support.google.com/mail/?p=IPv6AuthError for more information 550 5.7.1 . p125si7163239qkb.317 - gsmtp (in reply to end of DATA command))
Comments (3)
-
reporter -
reporter Reference
-
reporter - changed status to resolved
- Log in to comment
Since we're already using Mailgun, I set up Postfix to use Mailgun as a relay, which should take care of all gmail's requirements. I tested by creating a new user account with myemail+dltest@gmail.com, and received the email (though in my spam box).
I kept getting 'SASL authentication failure: No worthy mechs found' errors until I installed cyrus-sasl-plain. cyrus-sasl and cyrus-sasl-lib was already installed but wasn't enough.
Some issues to keep under consideration: