Applicable to:
- Plesk for Linux
Symptoms
-
While trying to send an email via Roundcube, the following error appears:
SMTP Error (535): Authentication failed
-
compatibility_level
value was previously defined in/etc/postfix/main.cf
as following:compatibility_level=2
In /var/log/maillog
following entries can be found:
warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
warning: SASL authentication failure: Password verification failed
warning: localhost[::1]: SASL PLAIN authentication failed: generic failure
Cause
The root cause is under investigation.
Resolution
-
Login to the server via SSH.
-
Create a backup of
/etc/postfix/master.cf
:# cp -p /etc/postfix/master.cf /etc/postfix/master.cf_bck
-
Check SMTP daemon configuration:
-
If RHEL/CentOS/CloudLinux is used, verify that chrooted mode is disabled:
# egrep "^smtp " /etc/postfix/master.cf | grep inet
smtp inet n - n - - smtpd -
If Debian/Ubuntu is used, verify that chrooted mode is enabled:
# egrep "^smtp " /etc/postfix/master.cf | grep inet
smtp inet n - y - - smtpd
-
-
Reload postfix configuration:
# service postfix reload
Comments
5 comments
Had the same problem with latest Obsidian on centos 7.
The above didn't work and only resolution for me was to edit:
/usr/share/psa-roundcube/config/config.inc.php
and add:
$config['smtp_auth_type'] = '';
Maybe this change will get lost on the next update so any recommendations would be much appreciated.
Hi @John Karamatsoukas,
/usr/share/psa-roundcube/config/config.inc.php should be affected by the updates.
Not resolved with the above solutions.
hi
i have to tape exactly the same line of thoose ssh command?
Ikbel Sassi You need to edit the file master.cf and edit it as shown in the output of the egrep command.
Please sign in to leave a comment.