我早些时候(几个月前)在 CentOS 上安装了 Postfix,它运行良好。由于进行了多次蛮力尝试,并考虑到我几乎根本没有使用它,因此我关闭了 Postfix。现在我需要使用它,当我开始并测试它时:它可以正常接收电子邮件,但不能发送。我尝试向 yahoo、google、hotmail、mail.ru、yandex.ru 发送电子邮件,结果是一样的:
postfix/smtp[30799]: 3EA0C11A82FD: to=<i********@gmail.com>, relay=alt4.gmail-smtp-in.l.google.com[74.125.93.27]:25, delay=0.56, delays=0.02/0.01/0.53/0, dsn=4.4.2, status=deferred (lost connection with alt4.gmail-smtp-in.l.google.com[74.125.93.27] while receiving the initial server greeting)
Run Code Online (Sandbox Code Playgroud)
还有这样的行:
postfix/smtp[31728]: C792711A82EB: conversation with gmail-smtp-in.l.google.com[74.125.39.27] timed out while performing the EHLO handshake
Run Code Online (Sandbox Code Playgroud)
我可以发送电子邮件的唯一地方是 mail.md
我重新安装了 Postfix,但没有任何改变。试图在没有任何运气的情况下禁用防火墙。我的 IP 未列出/阻止。配置几乎是默认的,只是在http://wiki.centos.org/HowTos/postfix中描述的更改之前起作用。
在 mxtoolbox.com 上检查了 SMTP 服务器。结果是:
220 host-static-x-x-x-x.moldtelecom.md ESMTP Postfix
OK - x-x-x-x resolves to host-static-x-x-x-x.moldtelecom.md
OK - Reverse DNS matches SMTP Banner
0 seconds - Good on Connection time
Not an open relay.
1.139 …Run Code Online (Sandbox Code Playgroud) 当我traceroute访问任何网站时,ISP 网关之后的第一个 IP 是专用范围的 IP (10.1.74.xx)。正常吗?它会导致任何问题吗(例如 Postfix 传递消息的问题)?