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?
A. It appears that you are using Simple Authentication and Security Layer (SASL) framework for authentication and data security in Internet protocols. Cyrus SASL is a free and portable SASL library and it is used for SMTP authentication.
To set or change a user's sasl password use saslpasswd2 command and not passwd command. saslpasswd2 is used by a server administrator to set a user’s sasl password for server programs and SASL mechanisms which use the standard libsasl database of user secrets. Type the following command at shell prompt:
# saslpasswd2 username
Now password should be updated and Postfix should accept the SMTP password.
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 1 comment… read it below or add one }
Hi all,
This solution can not help. I have done the step above. I also type
# sasldblistusers2
to check the userlist.
Am I miss some step?
Any guys can help me, please?
Thanks
steven