OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: cyrus-sasl + mysql auth isn't working

From: Aaron Gallagher (habnabitgmail.com)
Date: Mon Nov 28 2005 - 14:53:12 CST


> What system/distribution do you run?
I run Gentoo on a G4 tower (ppc).

> Usually smtpd.conf goes into /usr/lib/sasl2. Is this Mandrake Linux?
No, it's Gentoo. I've moved it into /usr/lib/sasl2 now and it's still
problematic.

> What AUTH line(s) do you get, when you telnet to localhost and
> "EHLO foo"?
> If you get "AUTH PLAIN LOGIN" and nothing else, then /var/lib/sasl2/
> smtpd.conf
> is the correct location for smtpd.conf. If you get more than PLAIN
> and LOGIN,
> Postfix (libsasl) does not evaluate the configuration given in
> /var/lib/sasl2/smtpd.conf and the location is wrong.
It seems to work in either location, but I'll leave it in /usr/lib/
sasl2.

> Did you test with "testsaslauthd" if authentication works without
> Postfix?
>
> # testsaslauthd -u username -p password -s smtp
Yes, that works just fine.

Aaron Gallagher
<habnabitgmail.com>