Gmail 不接受来自具有 PTR 设置的新 VPS 服务器的邮件

pwz*_*000 6 domain-name-system email gmail email-bounces ptr-record

我设置了 PTR 记录,但无法将邮件发送到 Gmail 帐户:

host gmail-smtp-in.l.google.com[2607:f8b0:4004:c08::1b] said: 
550-5.7.25 [2a01:4ff:f0:a7b6::1] The IP address sending this message does not
550-5.7.25 have a PTR record setup, or the corresponding forward DNS entry does 
550-5.7.25 not point to the sending IP. As a policy, Gmail does not accept 
550-5.7.25 messages from IPs with missing PTR records. Please visit
550-5.7.25  https://support.google.com/mail/answer/81126#authentication for more 
550-5.7.25 information.
u1-20020ac87501000000b00315c38791casi6985465qtq.683 - gsmtp (in reply to end of DATA command)
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

在此输入图像描述

有人可以指导我如何正确设置我的 PTR 记录吗?我托管在 Hetzner Cloud 上,并使用 Rainloop 创建电子邮件帐户。

在此输入图像描述

Tom*_*mek 6

您的 IPv6 PTR 记录设置正确(严格来说,Gmail 似乎不再需要它)。

Gmail 发送给您的邮件中有一个提示:

or the corresponding forward DNS entry does 550-5.7.25 not point to the sending IP
Run Code Online (Sandbox Code Playgroud)

这是这里的情况:

tkepczyn-linux1:~> dig mail.saveneur.com aaaa +short
tkepczyn-linux1:~> 
Run Code Online (Sandbox Code Playgroud)

没有从 mail.saveneur.com 到 IPv6 地址的映射。

说了以上还请考虑设置SPF记录。如果丢失,这可能是此错误的真正原因。不幸的是,我无法提供帮助,因为您没有提供发送域名。

  • AAAA 记录需要完整的 IPv6 地址,而不是网络地址。只需将 2a01:4ff:f0:a7b6::1 放在那里即可。不知道够不够,去谷歌问问吧。但根据消息应该是这样。 (3认同)