Ubuntu 14.04 / iRedMail - SMTP 錯誤 (451):無法新增收件者

Ubuntu 14.04 / iRedMail - SMTP 錯誤 (451):無法新增收件者

今天之後我遇到了奇怪的問題。

幾個月來我一直在使用 iRedMail 0.9.2,沒有任何問題。直到今天我一直在接收和發送電子郵件。

今天我安裝了apt-get install sendmail,一切都停止工作了。

現在我無法接收和發送電子郵件。

所以我試圖刪除 sendmail 並重新安裝 postfix,但現在在 Roundcube 中,當我嘗試發送電子郵件時,我收到以下錯誤:

SMTP Error (451): Failed to add recipient "[email protected]" (4.3.0 <[email protected]>: Temporary lookup failure).

我刪除了 sendmail 並重新安裝了 postfix,如下所示:

sudo apt-get purge sendmail
sudo apt-get install --reinstall postfix
sudo /etc/init.d/postfix restart

這是我的 mail.log 的內容:

Oct  5 18:13:58 mail postfix/cleanup[3300]: warning: B8CB3A22AD7: sender_bcc_maps map lookup problem -- message not accepted, try again later
Oct  5 18:13:58 mail postfix/pickup[3297]: warning: maildrop/BAEC8A22ACD: error writing B8CB3A22AD7: queue file write error
Oct  5 18:14:41 mail postfix/smtpd[3318]: error: unsupported dictionary type: pcre
Oct  5 18:14:42 mail postfix/smtpd[3318]: connect from smtp-out.abv.bg[194.153.145.80]
Oct  5 18:14:42 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:14:42 mail postfix/trivial-rewrite[3301]: warning: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf: table lookup problem
Oct  5 18:14:42 mail postfix/trivial-rewrite[3301]: warning: virtual_mailbox_domains lookup failure
Oct  5 18:14:42 mail postfix/trivial-rewrite[3301]: warning: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf: table lookup problem
Oct  5 18:14:42 mail postfix/trivial-rewrite[3301]: warning: virtual_mailbox_domains lookup failure
Oct  5 18:14:42 mail postfix/smtpd[3318]: warning: pcre:/etc/postfix/helo_access.pcre is unavailable. unsupported dictionary type: pcre
Oct  5 18:14:42 mail postfix/smtpd[3318]: warning: pcre:/etc/postfix/helo_access.pcre: table lookup problem
Oct  5 18:14:42 mail postfix/smtpd[3318]: NOQUEUE: reject: RCPT from smtp-out.abv.bg[194.153.145.80]: 451 4.3.5 <smtp-out.abv.bg>: Helo command rejected: Server configuration error;$
Oct  5 18:14:42 mail postfix/smtpd[3318]: disconnect from smtp-out.abv.bg[194.153.145.80]
Oct  5 18:14:58 mail postfix/pickup[3297]: B1974A22AD7: uid=0 from=<root>
Oct  5 18:14:42 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:14:58 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:14:58 mail postfix/cleanup[3300]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "[email protected]"
Oct  5 18:14:58 mail postfix/cleanup[3300]: warning: B1974A22AD7: sender_bcc_maps map lookup problem -- message not accepted, try again later
Oct  5 18:14:58 mail postfix/pickup[3297]: warning: maildrop/BAEC8A22ACD: error writing B1974A22AD7: queue file write error
Oct  5 18:15:58 mail postfix/pickup[3297]: C0A32A22AD7: uid=0 from=<root>
Oct  5 18:15:58 mail postfix/cleanup[3300]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "[email protected]"
Oct  5 18:15:58 mail postfix/cleanup[3300]: warning: C0A32A22AD7: sender_bcc_maps map lookup problem -- message not accepted, try again later
Oct  5 18:15:58 mail postfix/pickup[3297]: warning: maildrop/BAEC8A22ACD: error writing C0A32A22AD7: queue file write error
Oct  5 18:16:27 mail postfix/smtpd[3395]: error: unsupported dictionary type: pcre
Oct  5 18:16:27 mail postfix/smtpd[3395]: connect from localhost[127.0.0.1]
Oct  5 18:15:58 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:16:27 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:16:27 mail postfix/trivial-rewrite[3301]: warning: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf: table lookup problem
Oct  5 18:16:27 mail postfix/trivial-rewrite[3301]: warning: virtual_mailbox_domains lookup failure
Oct  5 18:16:27 mail postfix/trivial-rewrite[3301]: warning: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf: table lookup problem
Oct  5 18:16:27 mail postfix/trivial-rewrite[3301]: warning: virtual_mailbox_domains lookup failure
Oct  5 18:16:27 mail postfix/smtpd[3395]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.0 <[email protected]>: Temporary lookup failure; from=<[email protected]> to=<th$
Oct  5 18:16:27 mail roundcube: <65kuug0v> SMTP Error: Failed to add recipient '[email protected]'. 4.3.0 <[email protected]>: Temporary lookup failure (Code: 451) in /opt/www/roundcub$
Oct  5 18:16:27 mail postfix/smtpd[3395]: disconnect from localhost[127.0.0.1]
Oct  5 18:16:58 mail postfix/pickup[3297]: 508F3A22AD9: uid=0 from=<root>
Oct  5 18:16:27 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:16:58 mail postfix/proxymap[3303]: warning: mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf is unavailable. unsupported dictionary type: mysql
Oct  5 18:16:58 mail postfix/cleanup[3300]: warning: proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "[email protected]"
Oct  5 18:16:58 mail postfix/cleanup[3300]: warning: 508F3A22AD9: sender_bcc_maps map lookup problem -- message not accepted, try again later
Oct  5 18:16:58 mail postfix/pickup[3297]: warning: maildrop/BAEC8A22ACD: error writing 508F3A22AD9: queue file write error

你能幫我解決這個問題嗎?我認為我的後綴配置錯誤。

你能幫我解決這個問題嗎?

先致謝!

答案1

warning: mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf is unavailable. unsupported dictionary type: mysql

這很可能是由於缺少提供 mysql 查找支援的 postfix 擴充。在大多數發行版/套件管理器中,套件被稱為postfix-mysql,因此例如:

apt-get install postfix-mysql

答案2

https://forums.cpanel.net/threads/smtp-451-error-temporary-local-problem-please-try-later.221212/

遷移後您是否更新了網域的名稱伺服器?網域是否解析到該新伺服器?

相關內容