Postfix 不接收非本地邮件

Postfix 不接收非本地邮件

我按照以下说明在 Linode/Ubuntu 10.04 上搭建了一个 Postfix/Dovecot 服务器本指南,我承认我以前从未这样做过。本地邮件工作正常,但尝试从外部地址发送电子邮件会导致如下错误:

Delivery to the following recipient failed permanently:

<address>@ni-mate.com

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 553 553 Unknown recipient. (state 13).

说实话,我不知道该做什么,也不知道任何人需要查看哪些配置文件/日志。

答案1

事实证明我没有有效的 DNS 记录。

我希望邮件到达 mail.domain.com(与 domain.com 相同的服务器),并由该服务器处理。我为 mail.domain.com 创建了一个 A 记录,其中包含服务器的 IP,因此 IP 与 domain.com 相同。然后我将 mail.domain.com 设为 domain.com 的 MX 记录,以便发送到 domain.com 的邮件将发送到 mail.domain.com。

相关内容