summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/modules/site_postfix/manifests/debug.pp9
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp4
2 files changed, 12 insertions, 1 deletions
diff --git a/puppet/modules/site_postfix/manifests/debug.pp b/puppet/modules/site_postfix/manifests/debug.pp
new file mode 100644
index 00000000..f370d166
--- /dev/null
+++ b/puppet/modules/site_postfix/manifests/debug.pp
@@ -0,0 +1,9 @@
+class site_postfix::debug {
+
+ postfix::config {
+ 'debug_peer_list': value => '127.0.0.1';
+ 'debug_peer_level': value => '1';
+ 'smtpd_tls_loglevel': value => '1';
+ }
+
+}
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index 0581f147..d7637c70 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -18,12 +18,14 @@ 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::smtpd_checks
include site_postfix::mx::tls
+ # greater verbosity for debugging, take out for production
+ include site_postfix::debug
+
user { 'vmail':
ensure => present,
comment => 'Leap Mailspool',