summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-05-22 19:40:13 +0200
committerMicah Anderson <micah@leap.se>2013-07-25 13:51:34 -0400
commitaa5be3d639c5445d3a069c72eb5c20e209440721 (patch)
treefb4cf0d92d0684f27ef714f6294c5f647c27961f /puppet/modules/site_postfix/manifests
parent901a06d29c0c658b479f4c5a0828b263d7d6de0f (diff)
beginning of smtp_auth config with client certs
Diffstat (limited to 'puppet/modules/site_postfix/manifests')
-rw-r--r--puppet/modules/site_postfix/manifests/mx/smtp_auth.pp10
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 =>
+ }
+}