给朋友的gmail发邮件被google拒收了。信息如下:
gmail-smtp-in.l.google.com[2607:f8b0:400d:c0f::1b] said: 550-5.7.1 [my IPv6] The IP address sending this message does not 550-5.7.1 have a PTR record setup. As a policy, Gmail does not accept messages 550-5.7.1 from IPs with missing PTR records.
看起来,我的邮件客户端神奇的使用了IPv6发送邮件,却没有设置PTR record。
解决方案:到dns设置上增加一条"AAAA"记录,指向邮件服务器的IPv6地址。