matulio
3rd August 2007, 04:51
hello,
I tried to use sasl2 with MySQL without pam in the debian 4.0 but I did not have sucess.
I did not have success in making the user to use the smtp authentication. Somebody can help ? :)
I did install the following packages:
#apt-get install libsasl2-modules-sql libsasl2-modules libsasl2-2 libsasl2 libsasl2-dev libsasl2-modules sasl2-bin
/var/log/auth.log
"postfix/smtpd[3393]: sql plugin trying to open db 'postfix' on host 'localhost'
postfix/smtpd[3393]: sql plugin could not connect to host localhost "
my confs:
/etc/postfix/sasl/smtpd.conf
log_level:7
pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: mysql
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
sql_hostnames:localhost,127.0.0.1
sql_user: postfix
sql_passwd: xxxx
sql_database: postfix
sql_select: SELECT password FROM mailbox WHERE username = '%u@%r'
sql_verbose: yes
/etc/default/saslauthd
START=YES
MECHANISMS="sql"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
/etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients=yes
I tried to use sasl2 with MySQL without pam in the debian 4.0 but I did not have sucess.
I did not have success in making the user to use the smtp authentication. Somebody can help ? :)
I did install the following packages:
#apt-get install libsasl2-modules-sql libsasl2-modules libsasl2-2 libsasl2 libsasl2-dev libsasl2-modules sasl2-bin
/var/log/auth.log
"postfix/smtpd[3393]: sql plugin trying to open db 'postfix' on host 'localhost'
postfix/smtpd[3393]: sql plugin could not connect to host localhost "
my confs:
/etc/postfix/sasl/smtpd.conf
log_level:7
pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: mysql
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
sql_hostnames:localhost,127.0.0.1
sql_user: postfix
sql_passwd: xxxx
sql_database: postfix
sql_select: SELECT password FROM mailbox WHERE username = '%u@%r'
sql_verbose: yes
/etc/default/saslauthd
START=YES
MECHANISMS="sql"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
/etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients=yes