mrteam
(usa Fedora)
Enviado em 21/09/2008 - 11:40h
Olá pessoal estou usando o postfix com sasl e mysql e sempre que tento autenticar ele da esses erros:
no /var/log/mail.log:
Sep 21 14:29:16 XXXXX postfix/smtpd[26189]: connect from unknown[***.***.***.***]
Sep 21 14:29:23 XXXXX postfix/smtpd[26189]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 14:29:23 XXXXX postfix/smtpd[26189]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 14:29:23 XXXXX postfix/smtpd[26189]: warning: SASL authentication failure: no secret in database
Sep 21 14:29:23 XXXXX postfix/smtpd[26189]: warning: unknown[***.***.***.***]: SASL CRAM-MD5 authentication failed: authentication failure
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: SASL authentication failure: no secret in database
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: unknown[***.***.***.***]: SASL NTLM authentication failed: authentication failure
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 14:29:24 XXXXX last message repeated 4 times
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: SASL authentication failure: Password verification failed
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: warning: unknown[***.***.***.**]: SASL PLAIN authentication failed: authentication failure
Sep 21 14:29:25 XXXXX postfix/smtpd[26189]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Sep 21 14:29:25 XXXXX last message repeated 5 times
Sep 21 14:29:25 XXXXX postfix/smtpd[26189]: warning: unknown[***.***.***.***]: SASL LOGIN authentication failed: authentication failure
no /var/log/auth.log:
Sep 21 14:29:15 XXXXX postfix/smtpd[26189]: sql_select option missing
Sep 21 14:29:15 XXXXX postfix/smtpd[26189]: auxpropfunc error no mechanism available
Sep 21 14:29:15 XXXXX postfix/smtpd[26189]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Sep 21 14:29:23 XXXXX postfix/smtpd[26189]: NTLM server step 1
Sep 21 14:29:23 XXXXX postfix/smtpd[26189]: client flags: ffff8207
Sep 21 14:29:24 XXXXX postfix/smtpd[26189]: NTLM server step 2
Meu /etc/pam.d/smtp
auth required pam_mysql.so user=******* passwd=****** host=127.0.0.1 db=***** table=mailbox usercolumn=username passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=****** passwd=***** host=127.0.0.1 db=****** table=mailbox usercolumn=username passwdcolumn=password crypt=1
Meu /etc/postfix/sasl/smtp.conf
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: ******
sql_passwd: *****
sql_database: ******
sql_select: select password from mailbox where username = '%u'
Alguem pode me ajudar, to usando o debian etch?