小编Erw*_*ald的帖子

Sendmail 连接超时

我最近设置了一个新的 Debian 服务器,

第一次安装和设置 sendmail 后,我无法发送电子邮件。

Reason : Connection timeout.

/var/log/mail.log 的输出:

> May  6 02:42:53 k***** sm-mta[15070]: q465gjxF013677:
> to=<*****@gmail.com>, ctladdr=<*****@*****.ca> (1001/1001),
> delay=01:00:08, xdelay=00:00:00, mailer=esmtp, pri=300329,
> relay=alt4.gmail-smtp-in.l.google.com., dsn=4.0.0, stat=Deferred:
> Connection timed out with alt4.gmail-smtp-in.l.google.com.
Run Code Online (Sandbox Code Playgroud)

netstat 的输出:

tcp        0      0 0.0.0.0:587             0.0.0.0:*   LISTEN   15069/sendmail: MTA
tcp        0      0 0.0.0.0:25              0.0.0.0:*   LISTEN   15069/sendmail: MTA
Run Code Online (Sandbox Code Playgroud)

从另一台计算机 (telnet theserver.imworkingon.com 25) 运行时,25 上的 Telnet 也成功,但如果我尝试从我正在使用的服务器运行它,则不会成功。这告诉我出站端口 25 似乎以某种方式被阻止了......

谁有想法?

email debian sendmail

4
推荐指数
1
解决办法
5万
查看次数

标签 统计

debian ×1

email ×1

sendmail ×1