testssl

 修改/opt/Spinfo/DPS/postfix/etc/postfix/main.cf配置文件, 将TLS通信几行修改如下:
#TLS support
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_loglevel= 6
smtpd_tls_cert_file = /opt/Spinfo/DPS/postfix/etc/postfix/mailssl/spinfoCA.crt
smtpd_tls_key_file = /opt/Spinfo/DPS/postfix/etc/postfix/mailssl/spinfoCA.key
smtpd_tls_CAfile = /opt/Spinfo/DPS/postfix/etc/postfix/mailssl/spinfoCA.pem
#smtpd_enforce_tls = yes
#smtpd_tls_mandatory_ciphers = medium

smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtp_tls_key_file = /opt/Spinfo/DPS/postfix/etc/postfix/mailssl/spinfoCA.key
smtp_tls_cert_file = /opt/Spinfo/DPS/postfix/etc/postfix/mailssl/spinfoCA.crt
smtp_tls_CAfile = /opt/Spinfo/DPS/postfix/etc/postfix/mailssl/spinfoCA.pem

你可能感兴趣的:(TEST,git)