problema autentificación SMTP(sasl) POSTFIX+MYSQL
Hola lista, necesito ayuda con un tema que me tiene de cabeza estos días...
estoy configurando un servidor de correo POSTFIX+COURIER(imap)+CYRUS
SASL(autentificacion smtp)+MYSQL, el problema que tengo es que cuando un
usuario intenta enviar un correo el servidor no es capaz de validarlo, en
los log's me aparece:
postfix/smtpd[10172]: warning:SASL authentication problem: unable to open
Berkeley db /etc/sasldb2: No such file or directory
postfix/smtpd[10172]: warning:SASL authentication failure: no secret in
database
postfix/smtpd[10172]: warning: unknown[192.6.1.85]: SASL NTLM authentication
failed
postfix/smtpd[10172]: warning: unknown[192.6.1.85]: SASL NTLM authentication
failed
postfix/smtpd[10172]: lost connection after AUTH from unknown[192.6.1.85]
postfix/smtpd[10172]: disconnect from unknown[192.6.1.85]
la validación la intento hacer por MYSQL pero por lo que me dicen los log's
parace que se está intentando validar por /etc/sasldb2, db que evidentemente
no tengo creada.
Para decirle a CYRUS SASL que la validación la haga por mysql cree el
fichero /etc/postfix/sasl/smtpd.conf:
mysql_user: mail
mysql_passwd: password
mysql_hostnames: localhost
mysql_database: mail
mysql_statement: select clear from users where id='%u' and domain='%r'
pwcheck_method: auxprop
y para decirle a POSTFIX que vamos a usar SASL añadimos en
/etc/postfix/main.cf:
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
No se lo que puedo tener mal...parece que no está utilizando el fichero
/etc/postfix/sasl/smtpd.conf..¿Alguien me puede ayudar?
Reply to: