1

Topic: Need help. 454 error : (

I can receive mail to my server, no issue at all, but sending mail gets me the following error:
An error occurred!
SMTP Error (454): Authentication failed.

I use roundcube to log in and manage the mail that I have. This is a new server, I just set it up today.



==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 Maria
- Linux/BSD distribution name and version: Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? negative
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

[LOGS] /var/log/mail.log
Mar  7 18:54:05 mail postfix/submission/smtpd[7259]: disconnect from mail.mccabe.email[127.0.0.1] ehlo=1 starttls=0/1 rset=0/1 quit=1 commands=2/4
Mar  7 18:54:05 mail roundcube: <3bv8gft6> SMTP Error: Authentication failure: Invalid response code received from server (Code: 454) in /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube.php on line 1665 (POST /mail/?_task=mail&_unlock=loading1520448843783&_lang=en_US&_framed=1&_action=send)
Mar  7 18:54:25 mail postfix/submission/smtpd[7259]: connect from mail.mccabe.email[127.0.0.1]
Mar  7 18:54:25 mail roundcube: ERROR: Invalid response code received from server (454)
Mar  7 18:54:25 mail roundcube: ERROR: Invalid response code received from server (530)
Mar  7 18:54:25 mail postfix/proxymap[7263]: warning: mysql:/etc/postfix/mysql/virtual_alias_maps.cf is unavailable. unsupported dictionary type: mysql
Mar  7 18:54:25 mail postfix/cleanup[7261]: warning: proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf lookup error for "postmaster@mail.mccabe.email"
Mar  7 18:54:25 mail postfix/cleanup[7261]: warning: 77A893E361: virtual_alias_maps map lookup problem for postmaster@mail.mccabe.email -- message not accepted, try again later
Mar  7 18:54:25 mail postfix/submission/smtpd[7259]: disconnect from mail.mccabe.email[127.0.0.1] ehlo=1 starttls=0/1 rset=0/1 quit=1 commands=2/4
Mar  7 18:54:25 mail roundcube: <3bv8gft6> SMTP Error: Authentication failure: Invalid response code received from server (Code: 454) in /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube.php on line 1665 (POST /mail/?_task=mail&_unlock=loading1520448865407&_lang=en_US&_framed=1&_action=send)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Need help. 454 error : (

Install package "postfix-mysql" and restart Postfix service should fix this issue.

3

Re: Need help. 454 error : (

Did that. Same errors. Updated log:

Mar  8 20:04:09 mail postfix/cleanup[6332]: 851345C2DC: message-id=<20180308200409.851345C2DC@mail.mccabe.email>
Mar  8 20:04:09 mail postfix/qmgr[6208]: 851345C2DC: from=<double-bounce@mail.mccabe.email>, size=910, nrcpt=1 (queue active)
Mar  8 20:04:09 mail postfix/submission/smtpd[6331]: disconnect from mail.mccabe.email[127.0.0.1] ehlo=1 starttls=0/1 rset=0/1 quit=1 commands=2/4
Mar  8 20:04:09 mail roundcube: <ecequ46b> SMTP Error: Authentication failure: Invalid response code received from server (Code: 454) in /opt/www/roundcubemail-1.3.0/program/lib/Roundcube/rcube.php on line 1665 (POST /mail/?_task=mail&_unlock=loading1520539449502&_lang=en_US&_framed=1&_action=send)
Mar  8 20:04:09 mail postfix/cleanup[6332]: 89CC65C2E1: message-id=<20180308200409.851345C2DC@mail.mccabe.email>
Mar  8 20:04:09 mail postfix/qmgr[6208]: 89CC65C2E1: from=<double-bounce@mail.mccabe.email>, size=1051, nrcpt=1 (queue active)
Mar  8 20:04:09 mail postfix/local[6333]: 851345C2DC: to=<postmaster@mail.mccabe.email>, relay=local, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (forwarded as 89CC65C2E1)
Mar  8 20:04:09 mail postfix/qmgr[6208]: 851345C2DC: removed
Mar  8 20:04:09 mail postfix/pipe[6334]: 89CC65C2E1: to=<postmaster@mccabe.email>, relay=dovecot, delay=0.05, delays=0/0.01/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Mar  8 20:04:09 mail postfix/qmgr[6208]: 89CC65C2E1: removed

Dovecot Log:
Mar  8 19:39:30 mail dovecot: ssl-params: Generating SSL parameters
Mar  8 19:40:00 mail dovecot: master: Error: service(lmtp): Initial status notification not received in 30 seconds, killing the process
Mar  8 19:40:00 mail dovecot: message repeated 4 times: [ master: Error: service(lmtp): Initial status notification not received in 30 seconds, killing the process]
Mar  8 19:40:00 mail dovecot: lmtp: Fatal: master: service(lmtp): child 3656 killed with signal 9
Mar  8 19:40:00 mail dovecot: lmtp: Fatal: master: service(lmtp): child 3663 killed with signal 9
Mar  8 19:40:00 mail dovecot: lmtp: Fatal: master: service(lmtp): child 3664 killed with signal 9
Mar  8 19:40:00 mail dovecot: lmtp: Fatal: master: service(lmtp): child 3665 killed with signal 9
Mar  8 19:40:00 mail dovecot: lmtp: Fatal: master: service(lmtp): child 3666 killed with signal 9
Mar  8 19:40:24 mail dovecot: ssl-params: SSL parameters regeneration completed
Mar  8 20:01:19 mail dovecot: master: Warning: SIGHUP received - reloading configuration

4

Re: Need help. 454 error : (

smccabe2623 wrote:

Mar  7 18:54:25 mail postfix/proxymap[7263]: warning: mysql:/etc/postfix/mysql/virtual_alias_maps.cf is unavailable. unsupported dictionary type: mysql

I didn't see this error anymore. What's the new error message / log now?