From 1bf49af22973f60bfe245b9b5a8325089702b4d7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 3 Jul 2017 11:26:27 +0200 Subject: [PATCH] Add optional debug directives --- .../e-smith/templates/etc/sogo/sogo.conf/70Verbose | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 root/etc/e-smith/templates/etc/sogo/sogo.conf/70Verbose diff --git a/root/etc/e-smith/templates/etc/sogo/sogo.conf/70Verbose b/root/etc/e-smith/templates/etc/sogo/sogo.conf/70Verbose new file mode 100644 index 0000000..a47844f --- /dev/null +++ b/root/etc/e-smith/templates/etc/sogo/sogo.conf/70Verbose @@ -0,0 +1,11 @@ +{ + if (($sogod{Debug} || 'disabled') =~ m/^yes|on|enabled|1$/){ + $OUT .=<<'_EOF'; + SOGoDebugRequests = YES; + SOGoEASDebugEnabled = YES; + ImapDebugEnabled = YES; + LDAPDebugEnabled = YES; + MySQL4DebugEnabled = YES; +_EOF + } +}