From f2169ac8debaecd2a0939c7c84c5c078d3454d9a Mon Sep 17 00:00:00 2001 From: tbrehm Date: Thu, 8 Sep 2011 12:23:12 +0000 Subject: [PATCH] Fixed: FS#1393 - Disable automatic creation of maildirs in courier setups --- install/tpl/mailfilter.master | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/install/tpl/mailfilter.master b/install/tpl/mailfilter.master index 5ff932ff77..df6c129aeb 100644 --- a/install/tpl/mailfilter.master +++ b/install/tpl/mailfilter.master @@ -35,18 +35,18 @@ if (!$SENDER) # Autocreate maildir, if not existant # -`test -e {dist_postfix_vmail_mailbox_base}/$HOST` -if ( $RETURNCODE != 0 ) -{ - `mkdir {dist_postfix_vmail_mailbox_base}/$HOST` -} +#`test -e {dist_postfix_vmail_mailbox_base}/$HOST` +#if ( $RETURNCODE != 0 ) +#{ +# `mkdir {dist_postfix_vmail_mailbox_base}/$HOST` +#} -`test -e {dist_postfix_vmail_mailbox_base}/$HOST/$USER` -if ( $RETURNCODE != 0 ) -{ - `maildirmake {dist_postfix_vmail_mailbox_base}/$HOST/$USER` - `chmod -R 0700 {dist_postfix_vmail_mailbox_base}/$HOST` -} +#`test -e {dist_postfix_vmail_mailbox_base}/$HOST/$USER` +#if ( $RETURNCODE != 0 ) +#{ +# `maildirmake {dist_postfix_vmail_mailbox_base}/$HOST/$USER` +# `chmod -R 0700 {dist_postfix_vmail_mailbox_base}/$HOST` +#} # Check if the user has a autoresponder enabled -- GitLab