postfix-users

Re: sasl2 debug

Subject: Re: sasl2 debug
From: Patrick Ben Koetter <p AT state-of-mind DOT de>
To: postfix-users AT postfix DOT org
Date: Fri, 10 Aug 2007 08:22:53 +0200
* Miguel <mmiranda AT 123.com DOT sv>:
> Hi, i have configured sasl2 with mysql support but it is not working, 
> this is my smtpd.conf
> 
> pwcheck_method: auxprop
> auxprop_plugin: sql
> mech_list: plain login cram-md5 digest-md5
> sql_engine: mysql
> sql_hostnames: 127.0.0.1
> sql_user: postfix
> sql_passwd: post4mn3t
> sql_database: postfix
> sql_select: select password from mailbox where username='%u@%r' and 
> active = 1
> sql_verbose: true
> 
> and in maillog there is not anything useful:
> 
> warning: unknown[192.168.10.15]: SASL LOGIN authentication failed: 
> authentication failure
> 
> I want to "view" the query sent by sasl, similar to the debug  option in 
> dovecot,  how can this be done?

You can't the way dovecot does it.

Are the passwords in the DB encrypted?
Send "saslfinger -s" output.

p@rick

-- 
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

<Prev in Thread] Current Thread [Next in Thread>
  • sasl2 debug, Miguel
    • Re: sasl2 debug, Patrick Ben Koetter <=