[Postfix-es] SASL2 con Mysql ( Error)

Daniel Solsona Moratiel dani en netsupport-si.net
Vie Jun 3 22:04:28 CEST 2005


>  -----------------Error-----------------------------
>
>   warning: SASL authentication problem: unable to open Berkeley db
> /etc/sasldb2: No such file or directory
> Jun  1 08:55:20 pe12-119 postfix/smtpd[11725]: warning: SASL
> authentication problem: unable to open Berkeley db /etc/sasldb2: No such
> file or directory
> Jun  1 08:55:20 pe12-119 postfix/smtpd[11725]: warning: SASL
> authentication failure: Password verification failed
> Jun  1 08:55:20 pe12-119 postfix/smtpd[11725]: warning:
> unknown[200.72.65.219]: SASL PLAIN authentication failed
>
> --------------Fin error --------------------

Usas debian?




> ---------------- smtpd.conf -------------------------
> pwcheck_method: auxprop
> mech_list: PLAIN CRAM-MD5 DIGEST-MD5 LOGIN
> allowanonymouslogin: no
> allowplaintext: no
>
> auxprop_plugin: sql
>
> sql_engine: mysql
>
> sql_hostnames: localhost
> sql_database:postfix
> sql_user: postfix
>
> sql_passwd:loquesea
> sql_select: SELECT password FROM mailbox WHERE username = '%u en r%'
>
> --------------------fin smtpd.conf -----------------------
>
A mi en debian con esto en /etc/postfix/sasl/smtpd.conf me funciona
perfectamente


sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
mech_list: LOGIN PLAIN

sql_engine: mysql
sql_user: xxx
sql_passwd: xxx
sql_hostnames: 127.0.0.1
sql_database: mail
sql_select: SELECT clear FROM postfix_users WHERE email = '%u@%r'


>
>
>
> _______________________________________________
> List de correo Postfix-es
> Postfix-es en lists.wl0.org
> http://lists.wl0.org/mailman/listinfo/postfix-es
>




Más información sobre la lista de distribución Postfix-es