[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postfix tls



Salu2 lista
He instalado Postfix y habilitado TLS el problema que tengo es que
ha dejado de trabajar un Webmail que tenia en otra Pc.Autentica bien
contra el LDAP.Con el IMAP y el POP trabaja igual, el problema es a la hora de enviar un correo con smtp para este fin usa clase de PHP que se llama Phpmailer.Probe instalar el squirrelmail y da errores a la hora de enviar por smtp .Los clientes de correo como Icedove y Outlock se autentican perfectamente.


Si le hago un telnet me muestra lo siguiente:

$ telnet ServerRemoto 25
Trying ServerRemoto...
Connected to ServerRemoto.
Escape character is '^]'.
220 ServerRemoto ESMTP Postfix (Debian/GNU)
ehlo localhost
250-serverremoto
250-PIPELINING
250-SIZE 1048576
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
starttls
220 2.0.0 Ready to start TLS
quit
Connection closed by foreign host.

y si me conecto con
$ openssl s_client -starttls smtp -crlf -connect serverremoto:25

me emite el certificado

No client certificate CA names sent
---
SSL handshake has read 1543 bytes and written 326 bytes
---
New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA
Server public key is 1024 bit
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : DHE-RSA-AES256-SHA
Session-ID: 37AC8E76ECF247A7107CD434B0D7BE4AF81F3285C4D97B387CA9EC2D42851361
    Session-ID-ctx:
Master-Key: 6E1EBC73956BAF45943ACC1645EE202CA91DAE1BF04C0EB4EDE53C06E93CB837BD26B5CC65984A9376329AB21D2B1214
    Key-Arg   : None
    Start Time: 1190465645
    Timeout   : 300 (sec)
    Verify return code: 18 (self signed certificate)
---
220 serverremoto ESMTP Postfix (Debian/GNU)
ehlo server
250-serverremoto
250-PIPELINING
250-SIZE 1048576
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH LOGIN user y pass encritados
334 UGFzc3dvcmQ6
535 5.7.0 Error: authentication failed: authentication failure
221 2.0.0 Bye
read:errno=0

El user y el pass lo encrito con
perl -MMIME::Base64 -e 'print encode_base64("\0rnapoles\@ipihlg.rimed.cu\0mipass")';

espero su ayuda para hacer funcionar el webmail

Gracias de antemano




Reply to: