Skip to content

Commit

Permalink
Use CA path instead of file
Browse files Browse the repository at this point in the history
  • Loading branch information
Paktosan committed Sep 11, 2022
1 parent 5a7e89a commit ad06fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mta_relayhost_auth_username: null
mta_relayhost_auth_mapfile: /etc/postfix/password_map
mta_smtp_tls_wrappermode: false
mta_smtp_tls_security_level: "may"
mta_smtp_tls_ca_file: ""
mta_smtp_tls_ca_path: /etc/ssl/certs/
mta_listen: true
mta_smtpd_upstream_proxy_protocol: ""
mta_smtpd_restriction_classes: {}
Expand Down
2 changes: 1 addition & 1 deletion templates/postfix/main.cf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tls_ssl_options = NO_COMPRESSION

smtp_tls_wrappermode = {{ "yes" if mta_smtp_tls_wrappermode else "no" }}
smtp_tls_security_level = {{ mta_smtp_tls_security_level }}
smtp_tls_CAfile = {{ mta_smtp_tls_ca_file }}
smtp_tls_CApath = {{ mta_smtp_tls_ca_path }}

{% if mta_tls_log -%}
# origin: mta_tls_log
Expand Down

0 comments on commit ad06fa8

Please sign in to comment.