SMTP TLS not working

Discussion in 'HOWTO-Related Questions' started by mattg, Jan 30, 2006.

  1. mattg

    mattg New Member


    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[]
    Jan 30 20:00:44 inauraa1 postfix/smtpd[21366]: disconnect from[]
    Jan 30 20:15:01 inauraa1 postfix/smtpd[21466]: connect from[]
    Jan 30 20:15:06 inauraa1 postfix/smtpd[21466]: disconnect from[]

    and here is the relevant part of

    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/
    virtual_create_maildirsize = yes
    virtual_mailbox_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
    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?


  2. falko

    falko Super Moderator Howtoforge Staff

    Please run
    telnet localhost 25
    , then issue
    ehlo localhost
    . Can you post the output?

Share This Page