1 最后由 skywuch (2016-09-25 11:16:23) 编辑

主题: 不能发邮件

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.5-1
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Centos6.8
- 与您的问题相关的日志信息:
====
主机名是按官方文档配置好的

Sep 25 03:11:53 mail postfix/smtp[1848]: connect to 126mx02.mxmail.netease.com[220.181.15.143]:25: Connection timed out
Sep 25 03:11:55 mail postfix/smtp[1603]: connect to 126mx03.mxmail.netease.com[220.181.15.197]:25: Connection timed out
Sep 25 03:12:05 mail postfix/submission/smtpd[1821]: connect from mail.jsqaa.com[127.0.0.1]
Sep 25 03:12:05 mail postfix/submission/smtpd[1821]: setting up TLS connection from mail.jsqaa.com[127.0.0.1]
Sep 25 03:12:05 mail postfix/submission/smtpd[1821]: Anonymous TLS connection established from mail.jsqaa.com[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Sep 25 03:12:05 mail postfix/submission/smtpd[1821]: 6A3745786: client=mail.jsqaa.com[127.0.0.1], sasl_method=LOGIN, sasl_username=admin@jsqaa.com
Sep 25 03:12:05 mail postfix/cleanup[1831]: 6A3745786: message-id=<acd418dc744acb0d2e2e2bee08893385@jsqaa.com>
Sep 25 03:12:05 mail postfix/qmgr[1596]: 6A3745786: from=<admin@jsqaa.com>, size=680, nrcpt=1 (queue active)
Sep 25 03:12:05 mail roundcube: <9gbb9lac> User admin@jsqaa.com [110.82.182.202]; Message for skyaaa@126.com; 250: 2.0.0 Ok: queued as 6A3745786
Sep 25 03:12:05 mail postfix/submission/smtpd[1821]: disconnect from mail.jsqaa.com[127.0.0.1]
Sep 25 03:12:05 mail postfix/smtpd[1847]: connect from mail.jsqaa.com[127.0.0.1]
Sep 25 03:12:05 mail postfix/smtpd[1847]: ED94657C3: client=mail.jsqaa.com[127.0.0.1]
Sep 25 03:12:05 mail postfix/cleanup[1831]: ED94657C3: message-id=<acd418dc744acb0d2e2e2bee08893385@jsqaa.com>
Sep 25 03:12:05 mail postfix/qmgr[1596]: ED94657C3: from=<admin@jsqaa.com>, size=1790, nrcpt=1 (queue active)
Sep 25 03:12:05 mail postfix/smtpd[1847]: disconnect from mail.jsqaa.com[127.0.0.1]
Sep 25 03:12:05 mail amavis[1678]: (01678-02) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:58078  -> , Message-ID: , mail_id: 39vvTP5RSuzI, Hits: 0.203, size: 722, queued_as: ED94657C3, dkim_new=dkim:jsqaa.com, 503 ms, Tests: [ALL_TRUSTED=-1,TVD_RCVD_SINGLE=1.213,T_RP_MATCHES_RCVD=-0.01]
Sep 25 03:12:05 mail postfix/smtp[1836]: 6A3745786: to=<skyaaa@126.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.57, delays=0.05/0/0.01/0.5, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as ED94657C3)
Sep 25 03:12:05 mail postfix/qmgr[1596]: 6A3745786: removed
Sep 25 03:12:23 mail postfix/smtp[1848]: connect to 126mx03.mxmail.netease.com[220.181.15.199]:25: Connection timed out
Sep 25 03:12:25 mail postfix/smtp[1603]: connect to 126mx01.mxmail.netease.com[220.181.15.136]:25: Connection timed out
Sep 25 03:12:36 mail postfix/smtp[1614]: connect to 126mx02.mxmail.netease.com[220.181.15.144]:25: Connection timed out
Sep 25 03:12:53 mail postfix/smtp[1848]: connect to 126mx01.mxmail.netease.com[220.181.15.137]:25: Connection timed out
Sep 25 03:12:53 mail postfix/smtp[1848]: 12C1C578B: to=<skyaaa@126.com>, relay=none, delay=151, delays=0.02/0.05/151/0, dsn=4.4.1, status=deferred (connect to 126mx01.mxmail.netease.com[220.181.15.137]:25: Connection timed out)
Sep 25 03:12:55 mail postfix/smtp[1603]: connect to 126mx02.mxmail.netease.com[220.181.15.151]:25: Connection timed out
Sep 25 03:13:06 mail postfix/smtp[1614]: connect to 126mx02.mxmail.netease.com[220.181.15.202]:25: Connection timed out

回复: 不能发邮件

skywuch 写道:

Sep 25 03:12:23 mail postfix/smtp[1848]: connect to 126mx03.mxmail.netease.com[220.181.15.199]:25: Connection timed out

连接超时。

是发到所有外部邮箱都出错,还是单单网易?如果只是网易,可能是对方将你列入黑名单了。如果所有都出错,可能是你的 ISP 或你的网络设备、防火墙封了出站的 25 端口。

回复: 不能发邮件

已解决,是服务器禁止了对外发送邮件,谢谢张总!