Commit f2169ac8 authored by tbrehm's avatar tbrehm
Browse files

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

parent c8c7edae
...@@ -35,18 +35,18 @@ if (!$SENDER) ...@@ -35,18 +35,18 @@ if (!$SENDER)
# Autocreate maildir, if not existant # Autocreate maildir, if not existant
# #
`test -e {dist_postfix_vmail_mailbox_base}/$HOST` #`test -e {dist_postfix_vmail_mailbox_base}/$HOST`
if ( $RETURNCODE != 0 ) #if ( $RETURNCODE != 0 )
{ #{
`mkdir {dist_postfix_vmail_mailbox_base}/$HOST` # `mkdir {dist_postfix_vmail_mailbox_base}/$HOST`
} #}
`test -e {dist_postfix_vmail_mailbox_base}/$HOST/$USER` #`test -e {dist_postfix_vmail_mailbox_base}/$HOST/$USER`
if ( $RETURNCODE != 0 ) #if ( $RETURNCODE != 0 )
{ #{
`maildirmake {dist_postfix_vmail_mailbox_base}/$HOST/$USER` # `maildirmake {dist_postfix_vmail_mailbox_base}/$HOST/$USER`
`chmod -R 0700 {dist_postfix_vmail_mailbox_base}/$HOST` # `chmod -R 0700 {dist_postfix_vmail_mailbox_base}/$HOST`
} #}
# Check if the user has a autoresponder enabled # Check if the user has a autoresponder enabled
......
Supports Markdown
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