Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41

Thread: postfix mysql saslauthd stopped working after 11.10

  1. #1
    Join Date
    Oct 2011
    Beans
    11

    postfix mysql saslauthd stopped working after 11.10

    Hi

    I upgraded to 11.10 yesterday and all of a sudden my postfix/mysql/saslauthd/courier installation stopped working.
    saslfinger -s turns up empty in
    -- mechanisms on localhost --

    might be because /usr/lib/sasl2 looks like:
    -- listing of /usr/lib/sasl2 --
    total 52
    drwxr-xr-x 2 root root 4096 2011-10-11 15:01 .
    drwxr-xr-x 102 root root 40960 2011-10-14 08:34 ..
    -rw-r--r-- 1 root root 1 2011-10-10 14:01 berkeley_db.active
    -rw-r--r-- 1 root root 1 2011-08-16 01:42 berkeley_db.txt


    Tried to reinstall all of saslauthd by purging all installed packages, result is the same.
    Postfix log shows:

    SASL PLAIN authentication failed: no mechanism available

    Anyone else who has this problem or a solution?

    Cheers!

  2. #2
    Join Date
    Dec 2006
    Location
    Portland, Oregon
    Beans
    20
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: postfix mysql saslauthd stopped working after 11.10

    I have this problem as well for using saslauthd with user accounts.

  3. #3
    Join Date
    Jun 2006
    Location
    Boston, MA
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: postfix mysql saslauthd stopped working after 11.10

    Just opened this thread on the same topic, mods please close my duplicate.
    Please don't take Ubuntu Classic away. If I wanted OSX or really liked Apple's ideas on UI, I would have bought a Mac.

  4. #4
    Join Date
    Jun 2006
    Location
    Boston, MA
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: postfix mysql saslauthd stopped working after 11.10

    With others seeing the same problem I opened a bug here: https://bugs.launchpad.net/ubuntu/+bug/875440, please click the "This bug affects me" link if you are still having the same problems.
    Please don't take Ubuntu Classic away. If I wanted OSX or really liked Apple's ideas on UI, I would have bought a Mac.

  5. #5
    Join Date
    Oct 2011
    Beans
    15

    Re: postfix mysql saslauthd stopped working after 11.10

    I hesitated in upgrading our live machines, finally did it this weekend, same thing, mail won't send. saslauthd keeps giving "SASL PLAIN authentication failed: no mechanism available
    SASL LOGIN authentication failed: no mechanism available"

    Reinstalling libraries seems to have absolutely no effect, and there is nothing else being printed in the logs related to this at all

  6. #6
    Join Date
    Oct 2011
    Beans
    11

    Re: postfix mysql saslauthd stopped working after 11.10

    Just a thought, the libs have moved to:
    /usr/lib/x86_64-linux-gnu/sasl2

    saslfinger -ss shows in it's output that it is looking in /usr/lib/sasl2 which is empty...

    Tried to soft link to the new lib instead, still same problem.

  7. #7
    Join Date
    Oct 2011
    Beans
    15

    Re: postfix mysql saslauthd stopped working after 11.10

    Quote Originally Posted by rabbadabb View Post
    Just a thought, the libs have moved to:
    /usr/lib/x86_64-linux-gnu/sasl2

    saslfinger -ss shows in it's output that it is looking in /usr/lib/sasl2 which is empty...

    Tried to soft link to the new lib instead, still same problem.
    I just did the same, still getting the same error, good find, that's the multiarch vs hardcoded path problem I found on Google last night. Really need to get my mail back online too

    Any have any thoughts on the easiest way to downgrade without breaking other things as a temp fix if an update isn't coming out asap?

  8. #8
    Join Date
    Oct 2011
    Beans
    17

    Re: postfix mysql saslauthd stopped working after 11.10

    Same problem.

    I'm able to send and receive mails using Squirrelmail (IMAP).

    I've readed somewhere that reverting some packages related to sasl libraries can solve the problem, but I'm not sure.

    We need to wait for a solution or fix... and pray

  9. #9
    Join Date
    Oct 2011
    Beans
    15

    Re: postfix mysql saslauthd stopped working after 11.10

    Quote Originally Posted by Jarozas View Post
    We need to wait for a solution or fix... and pray

    After going crazy and not giving up, I HAVE found a solution!!!

    The problem is with the 2.1.24rc1 package of cyrus-sasl. I tried a bunch of different versions (pre 2.1.24rc1 you have to fix a .c file to compile) and I kept getting errors about libldap. The CURRENT version of cyrus-sasl is 2.1.25, source can be found at: ftp://ftp.cyrusimap.org/cyrus-sasl/c...-2.1.25.tar.gz

    Code:
    wget ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.25.tar.gz
    tar xvfz cyrus-sasl-2.1.25.tar.gz
    cd cyrus-sasl-2.1.25
    ./configure --enable-sql --with-ldap
    make
    make install
    rm -rf /usr/lib/sasl2
    ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
    /etc/init.d/saslauthd restart
    /etc/init.d/postfix restart
    I totally hate the idea of deviating from an ubuntu installed library, but you can't uninstall it without uninstall postfix and a whole lot of extra necessary programs. But this is for sure working for me and everyone is able to send mail again. Whew!

    NOTE: while messing with this I got a few errors caused by me also having 32bit libs, apt-get remove libsasl2-2:i386 fixed that for me.

  10. #10
    Join Date
    Oct 2011
    Beans
    17

    Re: postfix mysql saslauthd stopped working after 11.10

    Hello Otlayi,

    Your message looks like a light in the dark but ... the make and make install gave a lot of errors and nothing new is installed.

    I cannot do "apt-get remove libsasl2-2:i386" they do practically nothing and warns about some dependences with apache2.

    I've setup my server following http://www.howtoforge.com/virtual-us...l-ubuntu-11.04 and now I'm in a trouble with my users.

    But I got wise, next time I'll wait for a few months before to do a release upgrade.

    Thanks for your contribution.

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •