summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_postfix')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp3
-rw-r--r--puppet/modules/site_postfix/manifests/mx/smtpd_checks.pp8
2 files changed, 10 insertions, 1 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index 82536b80..72c38ab1 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -17,9 +17,10 @@ class site_postfix::mx {
'virtual_alias_maps': value => 'tcp:localhost:4242';
'luser_relay': value => 'vmail';
'local_recipient_maps': value => '';
+ #'debug_peer_list': value => '127.0.0.1';
}
- #include site_postfix::mx::smtp_checks
+ include site_postfix::mx::smtpd_checks
user { 'vmail':
ensure => present,
diff --git a/puppet/modules/site_postfix/manifests/mx/smtpd_checks.pp b/puppet/modules/site_postfix/manifests/mx/smtpd_checks.pp
new file mode 100644
index 00000000..e46bc149
--- /dev/null
+++ b/puppet/modules/site_postfix/manifests/mx/smtpd_checks.pp
@@ -0,0 +1,8 @@
+class site_postfix::mx::smtpd_checks {
+
+ postfix::config {
+ 'smtpd_data_restrictions':
+ value => 'permit_mynetworks, reject_unauth_pipelining, permit'
+ }
+
+}