diff --git a/manifests/server.pp b/manifests/server.pp index a1872bd..9a1f9e4 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -61,6 +61,7 @@ $smtpd_tls_key_file = undef, $smtpd_tls_cert_file = undef, $smtpd_tls_CAfile = undef, + $smtpd_tls_CApath = undef, $smtpd_sasl_auth = false, $smtpd_sasl_type = 'dovecot', $smtpd_sasl_path = 'private/auth', diff --git a/templates/main.cf.erb b/templates/main.cf.erb index c09ce70..9e9af49 100644 --- a/templates/main.cf.erb +++ b/templates/main.cf.erb @@ -747,6 +747,9 @@ smtpd_tls_cert_file = /etc/pki/tls/certs/<%= @ssl %>.crt <% if @smtpd_tls_CAfile -%> smtpd_tls_CAfile = <%= @smtpd_tls_CAfile %> <% end -%> +<% if @smtpd_tls_CApath -%> +smtpd_tls_CApath = <%= @smtpd_tls_CApath %> +<% end -%> <% if @smtpd_tls_ask_ccert -%> smtpd_tls_ask_ccert = yes <% end -%>