Ubuntu 14.04 / iRedMail - Erro SMTP (451): Falha ao adicionar destinatário

Ubuntu 14.04 / iRedMail - Erro SMTP (451): Falha ao adicionar destinatário

Estou enfrentando um problema estranho depois de hoje.

Há meses estou usando o iRedMail 0.9.2 e não tenho nenhum problema. Recebi e enviei e-mail até hoje.

Hoje instalei apt-get install sendmaile tudo parou de funcionar.

Agora não consigo receber e enviar e-mails.

Então, consegui remover o sendmail e reinstalar o postfix, mas agora no Roundcube, quando tento enviar um e-mail, recebo o seguinte erro:

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

Eu removi o sendmail e reinstalei o postfix assim:

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

Aqui está o que meu mail.log diz:

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

Você pode me ajudar a resolver esse problema. Acho que tenho uma configuração errada para meu postfix.

Você pode me ajudar a resolver o problema?

Desde já, obrigado!

Responder1

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

Provavelmente, isso se deve à falta da extensão do postfix que fornece suporte de pesquisa mysql. Na maioria das distribuições/gerenciadores de pacotes o pacote é chamado postfix-mysql, por exemplo:

apt-get install postfix-mysql

Responder2

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

Você atualizou os servidores de nomes dos domínios após a mudança? Os domínios são resolvidos para esse novo servidor?

informação relacionada