主题: SMTP 错误 (451)

==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:0.9.6
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):MySQL
- 使用的 Linux/BSD 发行版名称及版本号:Ubuntu 16.04
- 与您的问题相关的日志信息:

Web 端发送邮件时提示:SMTP 错误 (451): 添加收件人失败 "XXX@XXX.com" (4.3.5 <XXX@XXX.com>: Recipient address rejected: Server configuration problem)。
====
哪位大神指点一下,第一次搞邮件服务器……

回复: SMTP 错误 (451)

看下 postfix 日志文件里有什么相关错误。可能是 iredapd 服务没启动。

3 最后由 403147098 (2017-04-05 14:01:30) 编辑

回复: SMTP 错误 (451)

感谢张工回复,昨天看帖子后把 iredapd 启动后解决了这个问题。

现在新的问题是我不能向外网发送邮件,日志如下,张工有空了帮忙看看,指点一下,致谢!
看日志最后是连接网易的 25 超时了,但不知道怎么解决……
==============================================
Apr  5 13:46:01 mail postfix/10025/smtpd[2010]: connect from mail.imluyuan.com[127.0.0.1]
Apr  5 13:46:01 mail postfix/10025/smtpd[2010]: 0A10D1C13AC: client=mail.imluyuan.com[127.0.0.1]
Apr  5 13:46:01 mail postfix/cleanup[1972]: 0A10D1C13AC: message-id=<201704051345429637882@longhz.com>
Apr  5 13:46:01 mail postfix/qmgr[1467]: 0A10D1C13AC: from=<liuhl@longhz.com>, size=14753, nrcpt=1 (queue active)
Apr  5 13:46:01 mail postfix/10025/smtpd[2010]: disconnect from mail.imluyuan.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  5 13:46:01 mail amavis[1486]: (01486-01) Passed CLEAN {RelayedInbound}, [123.58.177.199]:42884 [1.80.218.95] <liuhl@longhz.com> -> <admin@imluyuan.com>, Queue-ID: D9B171C138D, Message-ID: <201704051345429637882@longhz.com>, mail_id: SxkmatWLojfv, Hits: 0.012, size: 14280, queued_as: 0A10D1C13AC, 15124 ms, Tests: [HTML_IMAGE_ONLY_32=0.001,HTML_MESSAGE=0.001,T_SPF_TEMPERROR=0.01]
Apr  5 13:46:01 mail postfix/smtp-amavis/smtp[1973]: D9B171C138D: to=<admin@imluyuan.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=0.16/0.01/0.01/15, 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 0A10D1C13AC)
Apr  5 13:46:01 mail postfix/qmgr[1467]: D9B171C138D: removed
Apr  5 13:46:01 mail postfix/pipe[2011]: 0A10D1C13AC: to=<admin@imluyuan.com>, relay=dovecot, delay=0.08, delays=0.01/0.02/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr  5 13:46:01 mail postfix/qmgr[1467]: 0A10D1C13AC: removed
Apr  5 13:46:19 mail postfix/smtps/smtpd[2018]: connect from unknown[1.80.218.95]
Apr  5 13:46:19 mail postfix/smtps/smtpd[2018]: Anonymous TLS connection established from unknown[1.80.218.95]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Apr  5 13:46:19 mail postfix/smtps/smtpd[2018]: EBAF91C138D: client=unknown[1.80.218.95], sasl_method=LOGIN, sasl_username=admin@imluyuan.com
Apr  5 13:46:20 mail postfix/cleanup[1972]: EBAF91C138D: message-id=<201704051346187307063@imluyuan.com>
Apr  5 13:46:20 mail postfix/qmgr[1467]: EBAF91C138D: from=<admin@imluyuan.com>, size=14449, nrcpt=1 (queue active)
Apr  5 13:46:20 mail postfix/smtps/smtpd[2018]: disconnect from unknown[1.80.218.95] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Apr  5 13:46:34 mail postfix/10025/smtpd[2010]: connect from mail.imlyuan.com[127.0.0.1]
Apr  5 13:46:34 mail postfix/10025/smtpd[2010]: E8DCC1C13F8: client=mail.imlyuan.com[127.0.0.1]
Apr  5 13:46:34 mail postfix/cleanup[1972]: E8DCC1C13F8: message-id=<201704051346187307063@imlyuan.com>
Apr  5 13:46:34 mail postfix/10025/smtpd[2010]: disconnect from mail.imlyuan.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr  5 13:46:34 mail postfix/qmgr[1467]: E8DCC1C13F8: from=<admin@imlyuan.com>, size=15515, nrcpt=1 (queue active)
Apr  5 13:46:34 mail amavis[1488]: (01488-01) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [1.80.218.95]:43641 [1.80.218.95] <admin@imlyan.com> -> <liuhl@longz.com>, Queue-ID: EBAF91C138D, Message-ID: <201704051346187307063@imlyuan.com>, mail_id: SrOZNzd5q46B, Hits: -0.999, size: 14449, queued_as: E8DCC1C13F8, dkim_new=dkim:imluyuan.com, 14859 ms, Tests: [ALL_TRUSTED=-1,HTML_MESSAGE=0.001]
Apr  5 13:46:34 mail postfix/smtp-amavis/smtp[1973]: EBAF91C138D: to=<liuhl@longhz.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=15, delays=0.18/0/0.01/15, 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 E8DCC1C13F8)
Apr  5 13:46:34 mail postfix/qmgr[1467]: EBAF91C138D: removed
Apr  5 13:47:05 mail postfix/smtp[2023]: connect to mx.ym.163.com[223.252.213.134]:25: Connection timed out
Apr  5 13:47:35 mail postfix/smtp[2023]: connect to mx.ym.163.com[223.252.213.137]:25: Connection timed out
Apr  5 13:48:05 mail postfix/smtp[2023]: connect to mx.ym.163.com[223.252.213.136]:25: Connection timed out
Apr  5 13:48:35 mail postfix/smtp[2023]: connect to mx.ym.163.com[223.252.213.135]:25: Connection timed out
Apr  5 13:48:35 mail postfix/smtp[2023]: E8DCC1C13F8: to=<liuhl@longhz.com>, relay=none, delay=120, delays=0.01/0.02/120/0, dsn=4.4.1, status=deferred (connect to mx.ym.163.com[223.252.213.135]:25: Connection timed out)

回复: SMTP 错误 (451)

阿里云把25给封禁了……