使用 PostFix 和 Cyber​​panel 修复 rDNS 记录

使用 PostFix 和 Cyber​​panel 修复 rDNS 记录

我的电子邮件被 GMail 拒绝,因为:

550-5.7.25  The IP address sending this message does not have a PTR record 
setup, or the corresponding forward entry does not point to the sending IP.

我在 Ubuntu 服务器上运行 Cyber​​panel 服务器套件。它充当电子邮件服务器和 DNS 服务器。它使用 Postfix 来运行电子邮件服务器。使用以下工具测试我的电子邮件:https://www.mail-tester.com/我收到以下消息。

Your IP address x.x.x.x is associated with the domain mydomain.net.
Nevertheless your message appears to be sent from mail.mydomain.net.

You may want to change the host name of your server to mydomain.net.

Here are the tested values for this check:

    IP: x.x.x.x
    HELO: mail.mydomain.net
    rDNS: mydomain.net

我是否应该将我的 PTR 记录更新为 mail.mydomain.net 而不是 mydomain.net?或者将其更新为 mydomain.net?如果是,如何在 Cyber​​panel 中更新 PTR 记录?

编辑:Linode 提供服务器。显然,您可以在其管理面板的“网络”选项卡下编辑 rDNS 值。我是否仍应将邮件服务器更改为 rDNS 值或将邮件服务器名称更改为 mydomain.net 而不是 mail.mydomain.net?这通常是如何处理的?

答案1

因此,我将反向 DNS 记录更改为 mail.mydomain.net,这解决了我向 Gmail 地址发送邮件时遇到的直接问题。我在服务器提供商 (Linode.com) 面板中更改了此项。不确定反向 DNS 是否只对我的电子邮件有效会导致我的网络托管出现问题,但到目前为止还不错。据我所知,我的 rDNS 的唯一用途是发送电子邮件验证,因此这可能工作正常。

相关内容