summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests/mx.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2015-09-15 11:01:29 -0400
committerMicah Anderson <micah@leap.se>2015-09-15 11:01:29 -0400
commit4c622c1b6d652effdc84899befa98c36c37d10a2 (patch)
treec9a27b79ec8e7ad71eb2175bd33cdbd8cde39d61 /puppet/modules/site_postfix/manifests/mx.pp
parent36fea3b7f448f50d500c0ec1a30b8c745b6f8c4c (diff)
parent2b1911f17b0ed5ee5ad2384e176b84b84243802f (diff)
Merge branch 'feature/rewrite_openpgp_header_7413' into develop
Change-Id: I42a1ef661dc55fb8110e82e930f67679c3dff1f8
Diffstat (limited to 'puppet/modules/site_postfix/manifests/mx.pp')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index ed70e80e..42313d1a 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -56,6 +56,7 @@ class site_postfix::mx {
include site_postfix::mx::smtp_tls
include site_postfix::mx::smtpd_tls
include site_postfix::mx::static_aliases
+ include site_postfix::mx::rewrite_openpgp_header
# greater verbosity for debugging, take out for production
#include site_postfix::debug
@@ -78,7 +79,10 @@ class site_postfix::mx {
-o smtpd_tls_security_level=encrypt
-o smtpd_recipient_restrictions=\$smtps_recipient_restrictions
-o smtpd_helo_restrictions=\$smtps_helo_restrictions
- -o smtpd_client_restrictions=",
+ -o smtpd_client_restrictions=
+ -o cleanup_service_name=clean_smtps
+clean_smtps unix n - n - 0 cleanup
+ -o header_checks=pcre:/etc/postfix/checks/rewrite_openpgp_headers",
require => [
Class['Site_config::X509::Key'],
Class['Site_config::X509::Cert'],