About Linux FAQ

Browse More FAQs:

Postfix SASL ERROR: Password not accepted from server: 535 5.7.0 Error: authentication failed: authentication failure

Posted by Vivek Gite [Last updated: May 27, 2008]

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.

Ubuntu / Kubuntu Ubuntu Ver. 8.10 and Linux Training Library 2DVD+CD

E-mail    Print    Can't find an answer to your question? Contact us

Related Other Helpful FAQs:

Discussion on This FAQ

  1. steven Says:

    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

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.