Re: [exim] Send mail via Port 465

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Yves
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Send mail via Port 465
Le 10/03/2014 10:06, soumya tr a écrit :
> Hi,
>
> I am using 465 as SMTPS
> -----------------
> daemon_smtp_ports = 25 : 465 : 587
> tls_on_connect_ports = 465
> -----------------
>
> I was trying to send mail via port 465 with/without authentication.
>
> But telnet <hostname> 465 just quits when I enter EHLO:
>
> $ telnet <hostname> 465
> Trying X.X.X.X...
> Connected to <hostname>.
> Escape character is '^]'.
> EHLo abc.com
> Connection closed by foreign host
>
> How can I try to send out mails via port 465. Please assist.


I might be wrong, but it seems to me that tls_on_connect_ports' purpose
is "legacy" SMTPS, with SSL first, then SMTP inside the SSL tunnel (just
like HTTPS). So you should talk SSL to the 465 port configured this way,
not SMTP. Use eg. openssl instead of telnet.

You probably wanted to use STARTTLS instead, which is TLS (aka "SSL")
inside an SMTP negociation, instead of the reverse. In this case, you
don't need tls_on_connect_ports.

Yves.