I'm definitely forgetting something. This was a debian, I reinstalled everything on a centos, same identical problem: auxprop sql OK saslauthd rimap OK
If I use both sql users can login, imap users can't but in this situation, if I use testsaslauthd it works correctly so it doesn't seem a saslauthd problem but a postfix problem 2014-03-31 22:02 GMT+02:00 Andrea <devnul...@gmail.com>: > > > 2014-03-31 21:52 GMT+02:00 Andrea <devnul...@gmail.com>: > > >> >> 2014-03-31 21:30 GMT+02:00 Patrick Ben Koetter <p...@sys4.de>: >> >> Hae you tried PLAIN with auxprop only? Use gen-auth, a script from John >>> Jetmoore, to create auth strings and telnet to the server. >>> >>> p@rick >>> >>> >> Yes, tried even now with help of gen-auth and testsaslauthd. >> testsaslauthd works perfectly! >> >> 1) just auxprop, telnet, AUTH PLAIN with mysql user, OK >> 2) just saslauthd, telnet, AUTH PLAIN with imap user, OK >> 3) auxprop saslauthd, telnet, AUTH PLAIN with mysql user OK >> 4) auxprop saslauthd, telnet, AUTH PLAIN with imap user FAILED >> >> I'm going crazy :) >> > > Well, just to try I changed order of auxprop and saslauthd on smtpd.conf: > > 5) saslauthd auxprop, telnet, AUTH PLAIN with mysql user OK > 6) saslauthd auxprop, telnet, AUTH PLAIN with imap user FAILED > > postfix 2.9.6-2 > sasl2-bin 2.1.25.dfsg1-6+deb7u1 >