Commit f2169ac8 authored by tbrehm's avatar tbrehm

Fixed: FS#1393 - Disable automatic creation of maildirs in courier setups

parent c8c7edae
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment