diff options
author | varac <varacanero@zeromail.org> | 2013-05-22 19:40:13 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-07-09 14:16:59 +0200 |
commit | bcb165f6ed09dd51cc7b534a1fa5aafde21e3703 (patch) | |
tree | 2928fae322baaa2ff420a03f3f4e536caeb19952 | |
parent | de4bdcddc33bd9aa2fc883ccef63f7c13543bb23 (diff) |
beginning of smtp_auth config with client certs
-rw-r--r-- | puppet/modules/site_postfix/manifests/mx/smtp_auth.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx/smtp_auth.pp b/puppet/modules/site_postfix/manifests/mx/smtp_auth.pp new file mode 100644 index 00000000..ab75130e --- /dev/null +++ b/puppet/modules/site_postfix/manifests/mx/smtp_auth.pp @@ -0,0 +1,10 @@ +class site_postfix::mx::smtp_auth { + $x509 = hiera('x509') + + postfix::config { + 'smtpd_tls_cert_file': value => $x509['client_ca_cert']; + 'smtpd_tls_key_file': value => $x509['client_ca_key']; + 'smtpd_tls_ask_ccert': value => 'yes'; + #'smtpd_tls_CAfile': value => + } +} |