mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 14:24:07 -07:00
Create mail account folder (mailbox)
This commit is contained in:
parent
a839f643e7
commit
2091418412
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
|
||||||
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
|
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
|
||||||
fi
|
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 #
|
# Vesta #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue