tbrehm
2011-09-08 f2169ac8debaecd2a0939c7c84c5c078d3454d9a
Fixed: FS#1393 - Disable automatic creation of maildirs in courier setups
1 files modified
22 ■■■■ changed files
install/tpl/mailfilter.master 22 ●●●● patch | view | raw | blame | history
install/tpl/mailfilter.master
@@ -35,18 +35,18 @@
# 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