Q. I've recently changed email user account password using passwd command, for one my postfix email server which requires SMTP authentication before sending an email. Now following error is logged into my /var/log/maillog file:
ERROR: Password not accepted from server: 535 5.7.0 Error: authentication failed: authentication failure
How do I solve this problem under Red Hat enterprise Linux running Postfix with SASL authentication?
[click to continue…]
Q. I’m running Redhat Enterprise Linux 4.5 server along with Postfix and Cyrus mail server. However I’m getting following error in my log files:
Jun 10 18:00:04 server postfix/smtpd: sql_select option missing
Jun 10 18:00:04 server postfix/smtpd: auxpropfunc error no mechanism available
How do I fix this error? I’m not using mysql for postfix.
A. The cyrus software comes with various plugin. The cyrus-sasl-sql package contains the Cyrus SASL plugin which supports using a RDBMS for storing shared secrets.
If you are not using MySQL, just remove the plugin using rpm command:
# rpm -ev cyrus-sasl-sql
Note if you are using Debian or Ubuntu remove libsasl2-modules-sql package:
# apt-get remove libsasl2-modules-sql
Also on RHEL 3 / 4, make sure that file /etc/openldap/slapd.conf is owned by the user ldap:
# chown ldap.ldap /etc/openldap/slapd.conf
Other option is to configure the sql module. Now there should not be any sort of error in /var/log/messages or /var/log/maillog file.