[postfix-es] SMTP Autenticado

Gorka gorkapostfix en yahoo.es
Jue Jul 16 14:42:01 CEST 2009


Exacto. Eso era. Muchas gracias.

 

De: postfix-es-bounces+gorkapostfix=yahoo.es en lists.wl0.org
[mailto:postfix-es-bounces+gorkapostfix=yahoo.es en lists.wl0.org] En nombre de
ESGLinux
Enviado el: jueves, 16 de julio de 2009 10:55
Para: postfix-es en lists.wl0.org
Asunto: Re: [postfix-es] SMTP Autenticado

 

Hola Gorka, 

 

Yo tuve un problema con un servidor que solo usaba TLS y para poder enviar
correos desde la consola tenía que utilizar el siguiente comando:

 

openssl s_client -starttls smtp -crlf -connect servidor.correo:25

 

... SALE LA INFO DEL CERTIFICIADO DEL SERVIDOR....

....

 

250-PIPELINING

250-SIZE 25640000

250-ETRN

250-AUTH LOGIN PLAIN

250-AUTH=LOGIN PLAIN

250-ENHANCEDSTATUSCODES

250-8BITMIME

250 DSN

 

auth login

334 VXNlcm5hbWU6

Zm9yb0BjZXJ0LmludGVjby5lcw==

334 UGFzc3dvcmQ6

NERtMW5mMHIw

235 2.7.0 Authentication successful

 

 

Eso te abre una negociación tls con el servidor. 

 

Luego lo importante pasar el usuario y la pass codificada en base 64. Para
poder obtener esa información se puede usar la siguiente herramienta:

 

http://www.webpan.com/customers/Email/base64_conversion.htm

 

Espero que te sirva de ayuda

ESG

 

 

El 15 de julio de 2009 18:25, Gorka <gorkapostfix en yahoo.es> escribió:

La auntenticación me funciona sin problemas, siempre que no intente
encriptarla:

postconf -e mynetworks=
postfix reload
#Las dos líneas anteriores son sólo para simular que estoy fuera de la red y
probar la autenticación.
postconf -e smtpd_tls_auth_only=yes
#Para obligar a que la autenticación sea encriptada.

Cuando cambio a yes el smtpd_tls_auth_only me da el siguiente error:

$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 XXXXXXX ESMTP Postfix (Debian/GNU)
ehlo hola.es
250-XXXXXXXXXX
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from:<usuario1 en XXXXXXXXXXXXXX>
250 2.1.0 Ok
auth plain
lasgjasdASDSDFGSDFsdggsdszLmNvbQBqb3JnZS5qb3JyaW5Ac2lzdGVtYXNnZsdfsgSDFGDG
538 5.7.0 Encryption required for requested authentication mechanism

¿Qué puede ser? ¿Por qué no me deja autenticar encriptado?

_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
postfix-es en lists.wl0.org
http://lists.wl0.org/mailman/listinfo/postfix-es

 

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.wl0.org/pipermail/postfix-es/attachments/20090716/85e973fd/attachment.html>


More information about the postfix-es mailing list