Alejandro C. González Chávez escribió:
Hola amigos, estoy configurando la autenticación SASL para darle acceso a usuarios remotos, tengo suse 10.1, es cyrus sasl, he configurado el archivo /usr/lib/sasl2/smtpd.conf con lo siguiente: pwcheck_method: saslauthd mech_list: plain login log_level: 3 saslauthd_path : /var/run/sasl2/mux
Ejecuto lo siguiente para ver los mecanismos de autenticación: #saslauthd -v saslauthd 2.1.21 authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
ejecuto lo siguiente:
server:/usr/lib/sasl2 # telnet derisa.com.ni 25 Trying 165.98.167.111... Connected to derisa.com.ni. Escape character is '^]'. 220 server.derisa.com.ni ESMTP Postfix ehlo derisa.com.ni 250-server.derisa.com.ni 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250 8BITMIME
Luego hago la prueba de para verificar si acepta el mecanismo de autenticación copn lo siguiente:
server:/ # telnet derisa.com.ni 25 Trying 165.98.167.111... Connected to derisa.com.ni. Escape character is '^]'. 220 server.derisa.com.ni ESMTP Postfix ehlo derisa.com.ni 250-server.derisa.com.ni 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250 8BITMIME AUTH PLAIN YWNnY2gAYWNnY2hBZGxzaTI4MTE= 535 Error: authentication failed
reviso el log y esto es loq ue me da:
Feb 13 14:26:52 server postfix/smtpd[8163]: warning: SASL authentication failure: Can only find author/en (no password) Feb 13 14:26:52 server postfix/smtpd[8163]: warning: server.derisa.com.ni[165.98.167.111]: SASL PLAIN authentication failed
También probé
testsaslauthd -u user@dominio.com -p Adlsi2811 0: NO "authentication failed"
Esto me dice que el sasl está fallando, pero no se donde pueda estar el error.
A.C.G.CH. Telf: Casa 00505-5323667 Cel:00505-8354400 acgch@yahoo.com
__________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/ --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org
Tienes saslauthd corriendo? jupiter:/usr/lib/sasl2 # /etc/init.d/saslauthd status Checking for service saslauthd: running jupiter:/usr/lib/sasl2 # --------------------------------------------------------------------- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org