Hello, I buy SSL certificate on Godaddy. When I download this certificate, I have two files
mydomain.crt and
gd_bundle.crt . I addes this lines to /etc/postfix/main.cf :
Code:
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/mydomain.key
smtpd_tls_cert_file = /etc/postfix/ssl/mydomain.crt
smtpd_tls_CAfile = /etc/postfix/ssl/gd_bundle.crt
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
But postfix back this error in mail.log:
Code:
May 1 23:50:19 S1 postfix/smtpd[6910]: SSL_accept error from unknown[XXX.XXX.XXX.XXX]: -1
May 1 23:50:19 S1 postfix/smtpd[6910]: lost connection after CONNECT from unknown[XXX.XXX.XXX.XXX]
May 1 23:50:19 S1 postfix/smtpd[6910]: disconnect from unknown[XXX.XXX.XXX.XXX]
May 1 23:50:19 S1 postfix/smtpd[6911]: SSL_accept error from unknown[XXX.XXX.XXX.XXX]: -1
May 1 23:50:19 S1 postfix/smtpd[6911]: lost connection after CONNECT from unknown[XXX.XXX.XXX.XXX]
May 1 23:50:19 S1 postfix/smtpd[6911]: disconnect from unknown[XXX.XXX.XXX.XXX]