mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -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
|
||||
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 #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue