[postfix-es] problema para autenticar

Miguel Angel Tormo Alfaro mlists en edicom.eu
Lun Sep 1 20:44:15 CEST 2008


Prueba añadiendo esta línea a tu conf:
broken_sasl_auth_clients = yes
(tienes que reiniciar o hacer un reload de postfix)

El Lunes, 1 de Septiembre de 2008 20:16:11 Frank Vela escribió:
> Hola,
> 
>  
> 
> Puede alguien ayudarme con un problema con un servidor virtual.
> 
>  
> 
> Tengo un servidor virtual en U.S.A. donde he configurado
> postfix+mysql+Courier+amavisd+clamav+spamassasin, este tiene CentOS, lo hice
> lo mas parecido a otro que tengo con Debían en la oficina y que trabaja sin
> problemas.
> 
>  
> 
> Luego de instalar cree una cuenta con postfixadmin y lo probe via webmail
> con squirrelmail y horde, hasta ahí todo bien, envía y recibe correos sin
> problema, pero al configurarlo con Outlook recibo correos pero no puedo
> enviar, siempre me pide que ponga usuario y clave y de ahí no pasa.
> 
>  
> 
> En el maillog tengo esto
> 
>  
> 
> Sep  1 10:47:50 ip-72-167-115-106 postfix/anvil[32583]: statistics: max
> cache size 1 at Sep  1 10:44:30
> 
> Sep  1 11:04:10 ip-72-167-115-106 postfix/smtpd[28492]: connect from
> unknown[190.187.18.128]
> 
> Sep  1 11:04:11 ip-72-167-115-106 postfix/smtpd[28492]: warning: SASL
> authentication problem: unknown password verifier
> 
> Sep  1 11:04:11 ip-72-167-115-106 postfix/smtpd[28492]: warning:
> unknown[190.187.18.128]: SASL LOGIN authentication failed: no mechanism
> available
> 
> Sep  1 11:04:11 ip-72-167-115-106 postfix/smtpd[28492]: lost connection
> after AUTH from unknown[190.187.18.128]
> 
> Sep  1 11:04:11 ip-72-167-115-106 postfix/smtpd[28492]: disconnect from
> unknown[190.187.18.128]
> 
>  
> 
> Ya probe incluso reinstalando todo y sigo con el problema, en smtpd.conf
> tengo
> 
>  
> 
> pwcheck_method: '/usr/sbin/saslauthd'
> 
> mech_list: plain login
> 
> allow_plaintext: true
> 
> auxprop_plugin: mysql
> 
> sql_hostmanes: 127.0.0.1
> 
> sql_user: xxxxx
> 
> sql_passwd: passxxxxxx
> 
> sql_database: xxxxx
> 
> sql_select: select password from mailbox where username = '%u@%r'
> 
>  
> 
> puse '/usr/sbin/saslauthd' porque saslauthd solo me salía que no encontraba
> el archivo en los logs
> 
>  
> 
> El archivo ‘/etc/sysconfig/saslauthd’ lo tengo
> 
>  
> 
> # Directory in which to place saslauthd's listening socket, pid file, and so
> 
> # on.  This directory must already exist.
> 
> ##SOCKETDIR=/var/run/saslauthd
> 
> SOCKETDIR=/var/spool/postfix/var/run/saslauthd
> 
>  
> 
> # Mechanism to use when checking passwords.  Run "saslauthd -v" to get a
> list
> 
> # of which mechanism your installation was compiled with the ablity to use.
> 
> MECH=pam
> 
>  
> 
> # Additional flags to pass to saslauthd on the command line.  See
> saslauthd(8)
> 
> # for the list of accepted flags.
> 
> FLAGS="-n 2"
> 
>  
> 
> No se que otra cosa debo revisar
> 
>  
> 
> Por cierto el main.cf es
> 
>  
> 
> ….
> 
> #Configuracion Sasl
> 
> smtpd_sasl_auth_enable = yes
> 
> smtpd_sasl_application_name = smtpd
> 
> smtpd_sasl_security_options = noanonymous
> 
> broken_sasl_auth_clients = yes
> 
> #smtpd_sasl_path = postfix
> 
> smtpd_sasl_local_domain =
> 
> #smtpd_sasl_authenticated_header = yes
> 
>  
> 
> #Configuracion tls
> 
> smtp_use_tls = no
> 
> smtpd_use_tls = yes
> 
> smtpd_tls_auth_only = no
> 
> smtpd_tls_key_file = /etc/postfix/ssl/mail.xxxx.key
> 
> smtpd_tls_cert_file = /etc/postfix/ssl/mail.xxxx.crt
> 
> smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
> 
> smtpd_tls_loglevel = 1
> 
> smtpd_tls_received_header = yes
> 
> smtpd_tls_session_cache_timeout = 3600s
> 
> tls_random_source = dev:/dev/urandom
> 
> #tls_random_exchange_name = /var/run/prng_exch
> 
> tls_random_exchange_name = /var/lib/postfix/prng_exch
> 
>  
> 
> smtpd_recipient_restrictions =
> 
>         permit_mynetworks,
> 
>         permit_sasl_authenticated,
> 
>         reject_unauth_destination,
> 
>         reject_invalid_helo_hostname,
> 
>         reject_non_fqdn_sender,
> 
>         reject_non_fqdn_recipient,
> 
>         reject_unknown_sender_domain,
> 
>         reject_unknown_recipient_domain,
> 
>         reject_rbl_client list.dsbl.org,
> 
>         reject_rbl_client cbl.abuseat.org,
> 
>         reject_rbl_client sbl.spamhaus.org,
> 
>         reject_rbl_client dnsbl.njabl.org,
> 
>         permit
> 
> ….
> 
>  
> 
> Y en master.cf
> 
>  
> 
> ….
> 
> smtp      inet  n       -       n       -       -       smtpd
> 
>> 
> smtp      unix  -       -       n       -       -       smtp
> 
> …..
> 
>  
> 
> Gracias por cualquier ayuda
> 
>  
> 
> Frank
> 
> 




More information about the postfix-es mailing list