CentOS 6.4 x64 iRedMail SMTP 错误:(451):无法添加收件人

CentOS 6.4 x64 iRedMail SMTP 错误:(451):无法添加收件人

我已经管理自己的服务器一段时间了,但对邮件服务器还是个新手。我已经在我的机器(CentOS 6.4 x64)上安装了 iRedMail,但在实际发送或接收邮件时出现错误。

错误日志如下。我不太清楚发生了什么,因为我很少处理邮件服务器。

在我看来,postfix 在连接主机名时遇到了问题,但我不确定原因。

有任何想法吗?

Nov  9 20:56:36 89ninetymailserver postfix/postfix-script[1130]: starting the Postfix mail system
Nov  9 20:56:36 89ninetymailserver postfix/master[1131]: daemon started -- version 2.6.6, configuration /etc/postfix
Nov  9 21:03:32 89ninetymailserver postfix/postfix-script[2112]: stopping the Postfix mail system
Nov  9 21:03:32 89ninetymailserver postfix/master[1131]: terminating on signal 15
Nov  9 21:03:33 89ninetymailserver postfix/postfix-script[2184]: starting the Postfix mail system
Nov  9 21:03:33 89ninetymailserver postfix/master[2185]: daemon started -- version 2.6.6, configuration /etc/postfix
Nov  9 21:16:00 89ninetymailserver postfix/smtpd[3636]: connect from localhost[127.0.0.1]
Nov  9 21:16:00 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:16:00 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:16:01 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:16:01 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:16:01 89ninetymailserver postfix/smtpd[3636]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<89ninetymailserver.com>
Nov  9 21:16:01 89ninetymailserver roundcube: SMTP Error: SMTP error: Failed to add recipient '[email protected]' in /var/www/roundcubemail-0.9.2/program/include/rcmail.php on line 1014 (POST /mail/?_unlock=loading1384031779756&_lang=undefined?_task=mail&_action=send)
Nov  9 21:16:01 89ninetymailserver postfix/smtpd[3636]: disconnect from localhost[127.0.0.1]
Nov  9 21:16:02 89ninetymailserver postfix/pickup[2187]: E2362C10DD: uid=0 from=<root>
Nov  9 21:16:02 89ninetymailserver postfix/cleanup[3699]: E2362C10DD: message-id=<[email protected]>
Nov  9 21:16:02 89ninetymailserver postfix/qmgr[2188]: E2362C10DD: from=<[email protected]>, size=2240, nrcpt=1 (queue active)
Nov  9 21:16:02 89ninetymailserver postfix/trivial-rewrite[3639]: warning: do not list domain 89ninetymailserver.com in BOTH mydestination and virtual_mailbox_domains
Nov  9 21:16:02 89ninetymailserver postfix/qmgr[2188]: warning: connect to transport private/dovecot: No such file or directory
Nov  9 21:16:02 89ninetymailserver postfix/error[3712]: E2362C10DD: to=<[email protected]>, relay=none, delay=0.23, delays=0.19/0.02/0/0.03, dsn=4.3.0, status=deferred (mail transport unavailable)
Nov  9 21:16:12 89ninetymailserver postfix/smtpd[3636]: connect from localhost[127.0.0.1]
Nov  9 21:16:12 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:16:12 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:16:13 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:16:13 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:16:13 89ninetymailserver postfix/smtpd[3636]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<89ninetymailserver.com>
Nov  9 21:16:13 89ninetymailserver roundcube: SMTP Error: SMTP error: Failed to add recipient '[email protected]' in /var/www/roundcubemail-0.9.2/program/include/rcmail.php on line 1014 (POST /mail/?_unlock=loading1384031791814&_lang=undefined?_task=mail&_action=send)
Nov  9 21:16:13 89ninetymailserver postfix/smtpd[3636]: disconnect from localhost[127.0.0.1]
Nov  9 21:17:52 89ninetymailserver postfix/smtpd[3636]: connect from localhost[127.0.0.1]
Nov  9 21:17:52 89ninetymailserver postfix/trivial-rewrite[15673]: warning: do not list domain 89ninetymailserver.com in BOTH mydestination and virtual_mailbox_domains
Nov  9 21:17:52 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:17:52 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:17:53 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:17:53 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:17:53 89ninetymailserver postfix/smtpd[3636]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<89ninetymailserver.com>
Nov  9 21:17:53 89ninetymailserver roundcube: SMTP Error: SMTP error: Failed to add recipient '[email protected]' in /var/www/roundcubemail-0.9.2/program/include/rcmail.php on line 1014 (POST /mail/?_unlock=loading1384031891857&_lang=undefined?_task=mail&_action=send)
Nov  9 21:17:53 89ninetymailserver postfix/smtpd[3636]: disconnect from localhost[127.0.0.1]
Nov  9 21:19:32 89ninetymailserver postfix/smtpd[3636]: connect from localhost[127.0.0.1]
Nov  9 21:19:32 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:19:32 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:19:33 89ninetymailserver postfix/smtpd[3636]: warning: connect to 127.0.0.1:7777: Connection refused
Nov  9 21:19:33 89ninetymailserver postfix/smtpd[3636]: warning: problem talking to server 127.0.0.1:7777: Connection refused
Nov  9 21:19:33 89ninetymailserver postfix/smtpd[3636]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.5 Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<89ninetymailserver.com>
Nov  9 21:19:33 89ninetymailserver roundcube: SMTP Error: SMTP error: Failed to add recipient '[email protected]' in /var/www/roundcubemail-0.9.2/program/include/rcmail.php on line 1014 (POST /mail/?_unlock=loading1384031991598&_lang=undefined?_task=mail&_action=send)
Nov  9 21:19:33 89ninetymailserver postfix/smtpd[3636]: disconnect from localhost[127.0.0.1]
Nov  9 21:23:33 89ninetymailserver postfix/qmgr[2188]: E2362C10DD: from=<[email protected]>, size=2240, nrcpt=1 (queue active)
Nov  9 21:23:33 89ninetymailserver postfix/trivial-rewrite[15707]: warning: do not list domain 89ninetymailserver.com in BOTH mydestination and virtual_mailbox_domains
Nov  9 21:23:33 89ninetymailserver postfix/qmgr[2188]: warning: connect to transport private/dovecot: No such file or directory
Nov  9 21:23:33 89ninetymailserver postfix/error[15709]: E2362C10DD: to=<[email protected]>, relay=none, delay=451, delays=451/0.04/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)

答案1

看起来 postfix 想要连接到您的自定义服务端口 7777,类似于check_policy_server。不幸的是,无论出于什么原因,该服务都没有运行。

另根据此日志

warning: do not list domain 89ninetymailserver.com in BOTH mydestination and virtual_mailbox_domains

您还有另一个问题。出现警告是因为您在 和 中都列出了一个域mydestinationvirtual_mailbox_domains这会让 postfix 感到困惑。您需要从 或 中删除该域mydestinationvirtual_mailbox_domains请参阅地址类别自述文件以获得进一步的解释。

相关内容