From 231f6a03a93caa914bc04d40af2cb203ded676fb Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 28 Aug 2013 12:14:01 +0200 Subject: added site_postfix::debug for debugging (#3538) --- puppet/modules/site_postfix/manifests/debug.pp | 9 +++++++++ puppet/modules/site_postfix/manifests/mx.pp | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 puppet/modules/site_postfix/manifests/debug.pp (limited to 'puppet/modules/site_postfix') 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', -- cgit v1.2.3