Saturday, March 12, 2011

SASL PLAIN authentication failed: authentication failure

This error message in the mail.log file kept bugging me and prevented users from sending mails via smtp.

It took me some time to stumble upon auth.log, which presented a more detailed cause for this error:

Mar 12 14:33:02 pro1660 saslauthd[881]: auth_rimap: unexpected response to auth request: * OK [ALERT] Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library)
Mar 12 14:33:02 pro1660 saslauthd[881]: do_auth         : auth failure: [user=testbox@myserver.de] [service=smtp] [realm=myserver.de] [mech=rimap] [reason=[ALERT] Unexpected response from remote authentication server]

As stated by blog.desgrange.net, "a quick solution to solve that is to replace FAM with Gamin":

apt-get install libgamin0

This should also automatically remove libfam0 which was causing the error.

1 comment:

  1. Dear Robert,

    I need help on "saving pdf before rendering it to ui" . I saw your post on JBoss Community. Would you please share the source code. Thanks.

    ReplyDelete