SASL Authentication and Debian/Wheezy


After upgrading a mail server to Debian/Unstable (which will soon be released as Wheezy) I started getting SASL errors.

535 5.7.8 Error: authentication failed: no mechanism available

The SMTP protocol gave the above error for both LOGIN and PLAIN methods.

SASL LOGIN authentication failed: no mechanism available

The postfix/smtpd process logged messages like the above in syslog.

It turned out that the “auxprop_plugin: mysql” line had to be removed and replaced with the following two lines due to a change in the way SQL plugins are managed:

auxprop_plugin: sql
sql_engine: mysql

Also the SQL query needed to have “%u” replaced with “%u@%r” because we now have user and realm provided separately.

5 thoughts on “SASL Authentication and Debian/Wheezy”

  1. mirabilos says:

    Why do you use MySQL anyway, instead of a database?

  2. Paul Wise says:

    Please provide a patch for the release notes.

  3. etbe says:

    mirabilos: This anti-MySQL stuff is getting boring.

    Paul: Done.

  4. Oli says:

    Thx, did dist update by idiotism ;) …
    That worked it out, good job.

  5. Steffen says:

    Thanks man. You saved me!

Comments are closed.