summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-04-26 12:24:05 +0200
committervarac <varacanero@zeromail.org>2013-07-09 14:16:59 +0200
commite6c4f16351be546985432bf865d123a82024b9ae (patch)
tree76de8f7d5bbdd9179efe6703516fc2fb06329fe7 /puppet/modules/site_postfix
parentadc12547c53639fe9cf97157d05e2b401dc7c9c3 (diff)
smtpd_checks: smtpd_data_restrictions
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'
+ }
+
+}