[LUG.ro] SMTP DE CIUDAD AUTH

Arino Omar lugro@lugro.org.ar
Mon, 31 Oct 2005 16:14:57 -0300


En la páguina de postfix encontré esto que tal vez te sirva. Resulta que parece que algunos servidores SMTP solo soportan autenticación PLANA o LOGIN y por esos aparece el mensaje "Authentication failed: cannot SASL 
authenticate to server".

Fijate esto a ver si te sirve:

www.postfix.org/SASL_README.html

Enabling SASL authentication in the Postfix SMTP client
Turn on client-side SASL authentication, and specify a table with per-host or per-destination username and password information. Postfix first searches the table for an entry with the server hostname; if no entry is found, then Postfix searches the table for an entry with the next-hop destination. Usually, that is the right-hand part of an email address, but it can also be the information that is specified with the relayhost parameter or with a transport(5) table. 

/etc/postfix/main.cf:
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

/etc/postfix/sasl_passwd:
    foo.com                     username:password
    bar.com                     username
    [mail.myisp.net]            username:password
    [mail.myisp.net]:submission username:password

Note: some SMTP servers support PLAIN or LOGIN authentication only. By default, the Postfix SMTP client does not use authentication methods that send plaintext passwords, and defers delivery with the following error message: "Authentication failed: cannot SASL authenticate to server". To enable plaintext authentication specify, for example: 

/etc/postfix/main.cf:
    smtp_sasl_security_options = 
The SASL client password file is opened before the SMTP server enters the optional chroot jail, so you can keep the file in /etc/postfix. 

Note: Some SMTP servers support authentication mechanisms that, although available on the client system, may not in practice work or possess the appropriate credentials to authenticate to the server. It is possible via the smtp_sasl_mechanism_filter parameter to further restrict the list of server mechanisms that the smtp(8) client will take into consideration. 

The Postfix SMTP client is backwards compatible with SMTP servers that use the non-standard "AUTH=method..." syntax in response to the EHLO command; there is no Postfix client configuration needed to work around it. 


-----Mensaje original-----
De: lugro-admin@lugro.org.ar [mailto:lugro-admin@lugro.org.ar] En nombre de Ramiro Caire
Enviado el: Lunes, 31 de Octubre de 2005 03:15 p.m.
Para: lugro
Asunto: [LUG.ro] SMTP DE CIUDAD AUTH

Hola,

alguien tiene un server con postfix (o lo que sea) que saque los correos
a traves del smtp de ciudad? digo esto porque se que es autenticado y no
le encuentro la vuelta.
Configuré postfix como se debe con soporte para sasl y toda la yerba,
pero me devuelve esto:

Oct 31 14:43:40 localhost postfix/smtp[3135]: warning: SASL
authentication failure: No worthy mechs found
Oct 31 14:43:40 localhost postfix/smtp[3135]: 1092F29F9E3:
Authentication failed: cannot SASL authenticate to server
smtp.datamarkets.com.ar[200.42.0.181] no mechanism available
Oct 31 14:43:40 localhost postfix/smtp[3135]: warning: SASL
authentication failure: No worthy mechs found
Oct 31 14:43:40 localhost postfix/smtp[3135]: 1092F29F9E3:
to=<rcaire@xxxxxx.com.ar>, relay=smtp.datamarkets.com.ar[200.42.0.166],
delay=0, status=deferred
(Authentication failed: cannot SASL authenticate to server
smtp.datamarkets.com.ar[200.42.0.166]: no mechanism available)

probe con smtp.datamarkets.com.ar y con smtp.ciudad.com.ar y siempre lo
mismo.

Se agradece cualquier ayuda de quien use este proveedor.

Saludos
Ram




-- 
Ramiro Caire - r.caire{en}coopvgg.com.ar

Registered GNU/Linux User #293247
Asociación de Nuevas Tecnologías - http://www.ant.org.ar
GNU/Linux User Group Rosario - http://www.lugro.org.ar
Jabber: ramiro{en}lugro.org.ar

*******************************************************************
                   "5tas Jornadas Regionales de 
                   Software Libre - Rosario 2005"
*******************************************************************
    
                http://jornadas.ant.org.ar

Registración:
http://www.ant.org.ar/jornadas/html/registration.php

_______________________________________________
Lugro mailing list
Lugro@lugro.org.ar
http://www.lugro.org.ar/mailman/listinfo/lugro