Create mail account folder (mailbox)

This commit is contained in:
myvesta 2021-07-17 15:06:12 +02:00 committed by GitHub
commit 2091418412
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,10 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
fi
# Create mail account folder (mailbox)
mkdir $HOMEDIR/$user/mail/$domain/$account
chown $user:mail $HOMEDIR/$user/mail/$domain/$account
chmod 700 $HOMEDIR/$user/mail/$domain/$account
#----------------------------------------------------------#
# Vesta #