View Full Version : SMTP TLS not working

30th January 2006, 22:21

I've followed this tutorial:

Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)

and it's been running ok for a few weeks now, after initial teething. However, I've just tried to use SMTP TLS for the first time and found that I can't connect to the server. Sending without TLS is fine. here is the mail.log tail:

Jan 30 20:00:39 inauraa1 postfix/smtpd[21366]: connect from 88-108-85-82.dynamic.dsl.as9105.com[]
Jan 30 20:00:44 inauraa1 postfix/smtpd[21366]: disconnect from 88-108-85-82.dynamic.dsl.as9105.com[]
Jan 30 20:15:01 inauraa1 postfix/smtpd[21466]: connect from 88-108-85-82.dynamic.dsl.as9105.com[]
Jan 30 20:15:06 inauraa1 postfix/smtpd[21466]: disconnect from 88-108-85-82.dynamic.dsl.as9105.com[]

and here is the relevant part of main.cf:

virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes

The mail.error log shows nothing. I'm not sure which log to look in for what may be going wrong. Any ideas anyone?



1st February 2006, 15:17
Please run telnet localhost 25, then issue ehlo localhost. Can you post the output?