I have followed The Perfect Server - Debian Wheezy (Apache2, BIND, Dovecot, ISPConfig 3) Howto. Postfix set up is not working. I am not able to receive mails. Relevant lines in main.cf are as following. # TLS parameters smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes What I have observed is following. - Postfix does not throw any error upon restart - When I do telnet localhost 25, it successfully connects. But when I do ehlo localhost it simply closes the session root@sun:/etc/postfix# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ehlo localhost Connection closed by foreign host. - At this time I get following logs in mail.log Oct 4 12:13:29 sun postfix/smtps/smtpd[19923]: SSL_accept error from localhost[127.0.0.1]: -1 Oct 4 12:13:29 sun postfix/smtps/smtpd[19923]: warning: TLS library problem: 19923:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:628: Oct 4 12:13:29 sun postfix/smtps/smtpd[19923]: lost connection after CONNECT from localhost[127.0.0.1] Oct 4 12:13:29 sun postfix/smtps/smtpd[19923]: disconnect from localhost[127.0.0.1] I have tried using different pairs of certificate and key. But nothing is working. Please help. Thank you. Regards, Sachin Divekar
Solved Thanks a lot Till. That was the problem. I forgot to uncomment smtps and submission port directives in master.cf Thank you very much Regards, Sachin Divekar