本地smtp邮件服务器无法发送邮件(连接超时)

时间:2017-02-14 06:29:59

标签: timeout sendmail spf postfix

ERORR:

Feb 14 14:09:04 es1 postfix/smtp[16443]: connect to mx3.hotmail.com[65.54.188.94]:25: Connection timed out
Feb 14 14:09:34 es1 postfix/smtp[16443]: connect to mx1.hotmail.com[104.44.194.231]:25: Connection timed out
Feb 14 14:10:04 es1 postfix/smtp[16443]: connect to mx1.hotmail.com[207.46.8.167]:25: Connection timed out
Feb 14 14:10:34 es1 postfix/smtp[16443]: connect to mx2.hotmail.com[65.55.37.104]:25: Connection timed out
Feb 14 14:11:04 es1 postfix/smtp[16443]: connect to mx1.hotmail.com[65.55.92.136]:25: Connection timed out
Feb 14 14:11:04 es1 postfix/smtp[16443]: 228D519C06D: to=<xxxx@hotmail.com>, relay=none, delay=395818, delays=395668/0.01/150/0, dsn=4.4.1, status=deferred (connect to mx1.hotmail.com[65.55.92.136]:25: Connection timed out)

我使用 Postfix / Dovecot 在CentOS 6上托管邮件服务器,我可以从外部接收邮件,但不能向外发送邮件。

我做过的事情:

将spf记录添加到dns,还可以从http://www.kitterman.com/spf/validate.html成功验证?

v=spf1 ip4:x.x.x.x -all 

注意:

由于ISP阻止问题,我通过添加 etc / postfix / master.cf

将默认端口25更改为26
26 inet n - n - - smtpd

1 个答案:

答案 0 :(得分:2)

您的ISP可能阻止了出站端口25.它很常见。您的SPF记录和入站SMTP端口没有区别。我建议你联系你的ISP。