Postfix Gmail PTR 550-5.7.1 record setup

edited August 2016 in Features and Ideas
I have a crontab sending event messages to my gmail address, and recently they've stopped being delivered.

On checking the logs, I'm seeing this:
Aug 12 10:03:39 mydomain postfix/pickup[29109]: 22D99203B1: uid=0 from=
Aug 12 10:03:39 mydomain postfix/cleanup[29927]: 22D99203B1: message-id=<20160812100339.22D99203B1@mydomain.com>
Aug 12 10:03:39 mydomain postfix/qmgr[29110]: 22D99203B1: from=, size=376, nrcpt=1 (queue active)
Aug 12 10:03:39 mydomain postfix/smtp[29929]: 22D99203B1: to=, relay=gmail-smtp-in.l.google.com[173.194.66.27]:25, delay=0.22, delays=0.01/0.01/0.06/0.15, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.66.27] said: 550-5.7.1 [45.32.6.126] The IP address sending this message does not have a PTR 550-5.7.1 record setup. As a policy, Gmail does not accept messages from IPs 550-5.7.1 with missing PTR records. Please visit 550-5.7.1 https://support.google.com/mail/answer/81126#authentication for more 550 5.7.1 information. f56si4143050qta.10 - gsmtp (in reply to end of DATA command))
Aug 12 10:03:39 mydomain postfix/cleanup[29927]: 593FE203B4: message-id=<20160812100339.593FE203B4@mydomain.com>
Aug 12 10:03:39 mydomain postfix/bounce[29930]: 22D99203B1: sender non-delivery notification: 593FE203B4
Aug 12 10:03:39 mydomain postfix/qmgr[29110]: 593FE203B4: from=<>, size=2953, nrcpt=1 (queue active)
Aug 12 10:03:39 mydomain postfix/qmgr[29110]: 22D99203B1: removed
Aug 12 10:03:39 mydomain postfix/local[29931]: 593FE203B4: to=, relay=local, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 12 10:03:39 mydomain postfix/qmgr[29110]: 593FE203B4: removed

In the log message help URL, it says:

Additional guidelines for IPv6
The sending IP must have a PTR record (i.e., a reverse DNS of the sending IP) and it should match the IP obtained via the forward DNS resolution of the hostname specified in the PTR record. Otherwise, mail will be marked as spam or possibly rejected.
The sending domain should pass either SPF check or DKIM check. Otherwise, mail might be marked as spam.


I'm not sure what I need to do here. Any ideas?

Comments

  • If your server has the name 'fred.myserver.com' then you need to set the corresponding IP address to that name in the 'reverse dns' section of the vultr control panel.
Sign In or Register to comment.