OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: smtp, amavis, mysql auth failures sending mail

From: 767 (767gmx.net)
Date: Wed Nov 23 2005 - 06:57:43 CST


Hey patrick :-)

>>-- mechanisms on localhost --
>>250-AUTH LOGIN PLAIN
>>250-AUTH=LOGIN PLAIN
>>
>>
>
>Your config looks a little messy (the /usr/lib/sasl2 part), but basically
>seems allright. What about the MySQL database? Are the passwords crypted?
>With SASL and auxprop they must not be crypted...
>
>
Crypted or not - there's no sql-query coming in when auth'ing, so
something inbetween (smtp<->sasl<->mysql), must be wrong ...

I guess sasl itself works, since - as far as I know - postfix relies on
it to get userdata from mysql (maildir, quota, ...), doesn't it?
Which actually works, because incoming mail is being transported without
any problem.

Is there a way to let sasl put out some debug-info?

Thanks a bunch.