add config parameter smtp_tls_CApath to validate peers
This commit is contained in:
parent
9bfa97d376
commit
bcf0ec995f
@ -26,6 +26,7 @@ postfix:
|
|||||||
|
|
||||||
config:
|
config:
|
||||||
smtpd_banner: $myhostname ESMTP $mail_name
|
smtpd_banner: $myhostname ESMTP $mail_name
|
||||||
|
smtp_tls_CApath = /etc/ssl/certs
|
||||||
biff: 'no'
|
biff: 'no'
|
||||||
append_dot_mydomain: 'no'
|
append_dot_mydomain: 'no'
|
||||||
readme_directory: 'no'
|
readme_directory: 'no'
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
{{ set_parameter('smtpd_use_tls') }}
|
{{ set_parameter('smtpd_use_tls') }}
|
||||||
{{ set_parameter('smtpd_tls_loglevel', 1) }}
|
{{ set_parameter('smtpd_tls_loglevel', 1) }}
|
||||||
{{ set_parameter('smtpd_tls_security_level', 'may') }}
|
{{ set_parameter('smtpd_tls_security_level', 'may') }}
|
||||||
|
{{ set_parameter('smtp_tls_CApath', '/etc/ssl/certs' }}
|
||||||
{{ set_parameter('smtpd_tls_cert_file', '/etc/ssl/certs/ssl-cert-snakeoil.pem') }}
|
{{ set_parameter('smtpd_tls_cert_file', '/etc/ssl/certs/ssl-cert-snakeoil.pem') }}
|
||||||
{{ set_parameter('smtpd_tls_key_file', '/etc/ssl/private/ssl-cert-snakeoil.key') }}
|
{{ set_parameter('smtpd_tls_key_file', '/etc/ssl/private/ssl-cert-snakeoil.key') }}
|
||||||
{{ set_parameter('smtpd_tls_session_cache_database', 'btree:${data_directory}/smtpd_scache') }}
|
{{ set_parameter('smtpd_tls_session_cache_database', 'btree:${data_directory}/smtpd_scache') }}
|
||||||
|
Loading…
Reference in New Issue
Block a user