summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-08-28 12:14:01 +0200
committervarac <varacanero@zeromail.org>2013-08-28 12:28:59 +0200
commit231f6a03a93caa914bc04d40af2cb203ded676fb (patch)
tree223de20e0efe7e11daeedf261dc95c2fd6150695 /puppet/modules/site_postfix
parent14cee35e55c999663dbd8ac34197b6ce7382e35d (diff)
added site_postfix::debug for debugging (#3538)
Diffstat (limited to 'puppet/modules/site_postfix')
-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',