>  postfix/smtpd[11997]: warning: SASL authentication problem: unable to open
> Berkeley db /etc/sasldb2: No such file or directory
> 
> 
> It's the last line that confuses me, it shouldn't be looking in /etc/sasldb2
> at all, it should be looking in the database
> 
> here is my /etc/postfix/sasl/smtpd.conf
> 
> pwcheck_method: auxprop
> auxprop_plugin: sql
> mech_list: login cram-md5 digest-md5
> sql_engine: mysql
> sql_hostnames: localhost
> sql_user: [[mail username]]
> sql_passwd: [[sql passwd]]
> sql_database: maildb
> sql_select: select clear from users where id='[EMAIL PROTECTED]' and enabled 
> = 1
> 

Move smtpd.conf from /etc/postfix/sasl/ to /usr/lib/sasl2. Restart postfix and 
try again

Also read this http://www.postfix.org/postconf.5.html#smtpd_sasl_path

Reply via email to