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

この問題の解決を手伝っていただけますか。Postfix の設定が間違っていると思います。

問題の解決を手伝ってもらえますか?

前もって感謝します!

答え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/

移行後にドメインのネームサーバーを更新しましたか? ドメインは新しいサーバーに解決されますか?

関連情報