HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   SMTP TLS not working (http://www.howtoforge.com/forums/showthread.php?t=2306)

mattg 30th January 2006 21:21

SMTP TLS not working
 
Hi,

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[88.108.85.82]
Jan 30 20:00:44 inauraa1 postfix/smtpd[21366]: disconnect from 88-108-85-82.dynamic.dsl.as9105.com[88.108.85.82]
Jan 30 20:15:01 inauraa1 postfix/smtpd[21466]: connect from 88-108-85-82.dynamic.dsl.as9105.com[88.108.85.82]
Jan 30 20:15:06 inauraa1 postfix/smtpd[21466]: disconnect from 88-108-85-82.dynamic.dsl.as9105.com[88.108.85.82]

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?

Thanks,

Matt

falko 1st February 2006 14:17

Please run
Code:

telnet localhost 25
, then issue
Code:

ehlo localhost
. Can you post the output?


All times are GMT +2. The time now is 10:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.