Skip to content

Commit

Permalink
smtp_tls_ca_path
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Nov 13, 2019
1 parent 469d16d commit bc43f8c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## 0.2.41

* added **smtp_tls_mandatory_protocols**
* added postfix settings:
- **smtp_tls_mandatory_protocols**
- **smtp_tls_ca_path** for **smtp_tls_CApath**

## 0.2.40

Expand Down
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
$smtpd_use_tls = false,
$smtpd_tls_protocols = [ '!SSLv2', '!SSLv3' ],
$smtp_tls_mandatory_protocols = [],
$smtp_tls_ca_path = undef,
$smtp_use_tls = false,
$smtp_tls_exclude_ciphers = [],
$smtpd_tls_mandatory_ciphers = undef,
Expand Down
4 changes: 4 additions & 0 deletions templates/main.cf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,10 @@ smtpd_tls_key_file=/etc/pki/tls/private/postfix-key.key
smtp_tls_mandatory_protocols = <%= @smtp_tls_mandatory_protocols.join(',') %>
<% end -%>

<% if defined?(@smtp_tls_ca_path) -%>
smtp_tls_CApath = <%= @smtp_tls_ca_path %>
<% end -%>

<%- if defined?(@biff) -%>
biff = <%= scope.function_bool2yesno([@biff]) %>
<%- end -%>
Expand Down

0 comments on commit bc43f8c

Please sign in to comment.