Potfix:
Dovecot:
Should work.
Code:
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_tls_session_cache
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/ssl/key.nopass.key
smtpd_tls_cert_file = /etc/ssl/cert.gen.crt
smtpd_tls_CAfile = /etc/ssl/CA.crt
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_tls_session_cache
tls_random_source = dev:/dev/urandom
Dovecot:
Code:
ssl_ca = </etc/ssl/CA.crt
ssl_cert = < /etc/ssl/cert.gen.crt
ssl_key = </etc/ssl/key.nopass.key
ssl_verify_client_cert = yes
ssl = required
ssl_key_password = passphrase
Should work.