SMTP TLS Problem with Mail Client

Discussion in 'Installation/Configuration' started by dschmid, Dec 8, 2005.

  1. dschmid

    dschmid New Member

    Hello I used perfect Setup for Suse 9.3 to install my root server and all works fine (thanks Falko) :D
    The only problem that i had is to send email from an outside mailclient like thunderbird or outlook with TLS. Without TLS there is no problem. Also there are no problems with IMAP SSL. I had read and try a lot of the informations in this forum but
    the problem is still there.

    Here is a part of my main.cf:

    inet_protocols = all
    biff = no
    mail_spool_directory = /var/mail
    canonical_maps = hash:/etc/postfix/canonical
    #virtual_maps = hash:/etc/postfix/virtual
    relocated_maps = hash:/etc/postfix/relocated
    transport_maps = hash:/etc/postfix/transport
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    masquerade_exceptions = root
    masquerade_classes = envelope_sender, header_sender, header_recipient
    myhostname = server1.$mydomain
    program_directory = /usr/lib/postfix
    inet_interfaces = all
    masquerade_domains =
    #mydestination = $myhostname, localhost.$mydomain
    defer_transports =
    disable_dns_lookups = no
    relayhost =
    mailbox_command =
    mailbox_transport =
    smtpd_sender_restrictions = hash:/etc/postfix/access
    smtpd_client_restrictions =
    smtpd_helo_required = no
    smtpd_helo_restrictions =
    strict_rfc821_envelopes = no
    smtpd_recipient_restrictions = :confused: permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    #smtpd_recipient_restrictions permit_sasl_authenticated,permit_mynetworks,check_relay_domains
    :confused:
    smtp_sasl_auth_enable = no

    smtpd_sasl_auth_enable = yes
    smtpd_use_tls = yes
    smtp_use_tls = yes
    alias_maps = hash:/etc/aliases
    mailbox_size_limit = 0
    message_size_limit = 10240000
    mydomain = mydomain.de
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_tls_auth_only = no
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names​

    And here the Postfix mail log:

    Dec 8 23:03:10 myhostname postfix/master[6648]: daemon started -- version 2.2.1, c onfiguration /etc/postfix
    Dec 8 23:03:17 myhostname postfix/smtpd[6665]: warning: connect to private/tlsmgr: No such file or directory
    Dec 8 23:03:18 myhostname postfix/smtpd[6665]: warning: connect to private/tlsmgr: No such file or directory
    Dec 8 23:03:18 myhostname postfix/smtpd[6665]: warning: problem talking to server private/tlsmgr: No such file or directory
    Dec 8 23:03:18 myhostname postfix/smtpd[6665]: warning: no entropy for TLS key gen eration: disabling TLS support
    Dec 8 23:03:18 myhostname postfix/smtpd[6665]: connect from ​

    I hope this is not so a big problem. Thank you all for help
     
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page