Problems with Postfix and smtp auth

Sergio Belkin sebelk at gmail.com
Tue Jul 10 04:07:12 UTC 2007


In Ubuntu 7.04 I have problems with Postfix+Dovecot+Sasl


I got these messages from /var/log/mail.log


Jul  9 21:10:04 ubuntu postfix/smtpd[15991]: warning: SASL: Connect to
smtpd failed: No such file or directory
Jul  9 21:10:04 ubuntu postfix/smtpd[15991]: fatal: no SASL
authentication mechanisms
Jul  9 21:10:05 ubuntu postfix/master[15951]: warning: process
/usr/lib/postfix/smtpd pid 15991 exit status 1
Jul  9 21:10:05 ubuntu postfix/master[15951]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Jul  9 21:27:34 ubuntu postfix/smtpd[16363]: warning: SASL: Connect to
smtpd failed: No such file or directory
Jul  9 21:27:34 ubuntu postfix/smtpd[16363]: fatal: no SASL
authentication mechanisms
Jul  9 21:27:35 ubuntu postfix/master[15951]: warning: process
/usr/lib/postfix/smtpd pid 16363 exit status 1
Jul  9 21:27:35 ubuntu postfix/master[15951]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Jul  9 21:33:34 ubuntu postfix/smtpd[16486]: warning: SASL: Connect to
smtpd failed: No such file or directory
Jul  9 21:33:34 ubuntu postfix/smtpd[16486]: fatal: no SASL
authentication mechanisms
Jul  9 21:33:36 ubuntu postfix/master[15951]: warning: process
/usr/lib/postfix/smtpd pid 16486 exit status 1
Jul  9 21:33:36 ubuntu postfix/master[15951]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
Jul  9 21:50:25 ubuntu postfix/smtpd[16628]: warning: SASL: Connect to
smtpd failed: No such file or directory
Jul  9 21:50:27 ubuntu postfix/smtpd[16628]: fatal: no SASL
authentication mechanisms
Jul  9 21:50:27 ubuntu postfix/master[15951]: warning: process
/usr/lib/postfix/smtpd pid 16628 exit status 1
Jul  9 21:50:27 ubuntu postfix/master[15951]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling


This is my /etc/default/saslauthd
START=yes

PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

MECHANISMS="shadow"



My /etc/postfix/sasl/smtpd.conf:
saslauthd_path: /var/run/saslauthd/mux
pwcheck_method: saslauthd
mech_list: plain login


This is my main.cf (I included only smtpdauth relative to be shorther)
#Seccion agregada por Sergio Belkin para lograr autenticacion mediante SASL
#Habilito autenticacion del servidor mediante SASL
smtpd_sasl_auth_enable = yes
# Permite el relay desde redes confiables y aquellos usuarios autenticados
smtpd_recipient_restrictions =  permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
# Para recibir el nombre del usuario autenticado a partir del encabezado
smtpd_sasl_authenticated_header = yes
# Para evitar problemas con clientes viejos de Microsoft
broken_sasl_auth_clients = yes
# Le digo que voy a usar SASL con Dovecot
smtpd_sasl_type = dovecot
#smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =


If I try with telnet:

telnet 10.1.1.253 25
Trying 10.1.1.253...
Connected to 10.1.1.253.
Escape character is '^]'.
Connection closed by foreign host.

I can't see where is the problem :( could you help me?

Thanks in advance!!

-- 
--
Sergio Belkin -




More information about the ubuntu-users mailing list