Postfix 连接超时

New*_*onx 4 email-server postfix timeout dovecot

我使用下面的教程在 Digital Ocean 服务器上设置 postfix 和 dovecot。但是当 postfix/smtp 尝试将电子邮件发送到 gmail 或 yahoo 等远程主机时,我收到了“连接超时”的消息。

https://www.digitalocean.com/community/articles/how-to-set-up-a-postfix-e-mail-server-with-dovecot


接收新消息 /var/log/mail.log


Feb 2 22:33:38 localhost dovecot:auth-worker:调试:从目录加载模块:/usr/lib/dovecot/modules/auth

Feb 2 22:33:38 localhost dovecot: auth-worker: Debug: pam(app,189.63.49.XXX): 查找服务=dovecot

Feb 2 22:33:38 localhost dovecot: auth-worker: Debug: pam(app,189.63.49.XXX): #1/1 style=1 msg=Password:

Feb 2 22:33:38 localhost dovecot: auth: Debug: client out: OK#0111#011user=app

Feb 2 22:33:40 localhost postfix/submission/smtpd[1045]: E9AA724264: client=unknown[189.63.49.XXX], sasl_method=PLAIN, sasl_username=app

2 月 2 日 22:33:43 本地主机后缀/清理 [1052]:E9AA724264:消息 ID=

Feb 2 22:33:43 localhost postfix/qmgr[32661]: E9AA724264: from=, size=485, nrcpt=1 (queue active)

2 月 2 日 22:33:45 本地主机后缀/提交/smtpd[1045]:与未知 [189.63.49.XXX] 断开连接

Feb 2 22:34:14 localhost postfix/smtp[1053]: 连接到 mta5.am0.yahoodns.net[98.136.216.25]:25: 连接超时


Feb 2 22:24:21 localhost postfix/smtp[1013]: 连接到 mta6.am0.yahoodns.net[98.136.217.202]:25: 连接超时

Feb 2 22:24:21 localhost postfix/smtp[1014]: 连接到 gmail-smtp-in.l.google.com[173.194.76.27]:25: 连接超时

Feb 2 22:24:21 localhost postfix/smtp[1015]: 连接到 gmail-smtp-in.l.google.com[173.194.76.27]:25: 连接超时

Feb 2 22:24:21 localhost postfix/smtp[1012]: 连接到 aspmx.l.google.com[173.194.68.27]:25: 连接超时


这是/etc/postfix/main.cf http://pastebin.com/nHQhh8Bp

/etc/postfix/master.cf http://pastebin.com/nnJBP9mh

结果来自 #> netstat -nlptu http://pastebin.com/PKJX6xC1

Mic*_*ton 7

默认情况下,所有 Digital Ocean 用户都会阻止端口 25上的外发 SMTP 。如果您想取消阻止,则需要与他们联系。