首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Gmail不接受带有PTR设置的新VPS服务器的邮件。

Gmail不接受带有PTR设置的新VPS服务器的邮件。
EN

Server Fault用户
提问于 2022-07-27 16:28:36
回答 1查看 8.5K关注 0票数 6

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

代码语言:javascript
运行
复制
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)

有谁能告诉我如何正确设置我的PTR记录吗?我是托管在Hetzner和使用Rainloop创建电子邮件帐户。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2022-07-27 16:46:08

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

在Gmail发送给您的消息中有一个提示:

代码语言:javascript
运行
复制
or the corresponding forward DNS entry does 550-5.7.25 not point to the sending IP

这里的情况是:

代码语言:javascript
运行
复制
tkepczyn-linux1:~> dig mail.saveneur.com aaaa +short
tkepczyn-linux1:~> 

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

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

票数 6
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1106769

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档