On 10/30/07, dhaneshk k <[EMAIL PROTECTED]> wrote:
> Hi all , pls  hepl me to fix this issue
> I followed this DOC
>   http://www.purplehat.org/?page_id=8
> Here while I am testing postfix setup  at this point
> telnet localhost 25   :  the  OutPut  obtained as described  as in the 
> tutorial in the above link (This test SUCCESSFULL)
>   BUT for telnet loclhost  465 I cant get the o/p as in tutorial
> Here what I am able to get    for  telnet localhost 465

When you specify "-o smtpd_tls_wrappermode=yes" port 465 is tunneled
through SSL and cannot be tested with telnet.  The website you are
looking at faked their test results.  This automatically makes me
suspicious of the rest of their how-to, but I didn't check anything
else for accuracy.

To test wrappermode TLS, use the "openssl s_client" command, which you
can think of as an encrypted telnet for testing TLS connections.  Try:
$ openssl s_client -connect localhost:465

You will be presented with a couple screens of TLS handshake info, and
then presented with the postfix 220 greeting banner.  Also note that
after you issue an EHLO command on port 465, the STARTTLS option won't
be offered since TLS is already active.

You can also test that TLS is working on port 25 (which requires the
STARTTLS command) with:
$ openssl s_client -connect localhost:25 -starttls smtp

The above command issues the STARTTLS command for you and establishes
an encrypted connection.

Noel Jones
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to