Skip to content

Commit 351fa64

Browse files
authored
Merge pull request hestiacp#2067 from hestiacp/feature/debian_11_support
Feature/debian 11 support
2 parents 0389848 + c244f83 commit 351fa64

File tree

3 files changed

+495
-23
lines changed

3 files changed

+495
-23
lines changed

bin/v-add-mail-account

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
7272
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
7373
fi
7474

75+
# Create mail account folder (mailbox)
76+
mkdir $HOMEDIR/$user/mail/$domain/$account
77+
chown $user:mail $HOMEDIR/$user/mail/$domain/$account
78+
chmod 700 $HOMEDIR/$user/mail/$domain/$account
7579

7680
#----------------------------------------------------------#
7781
# Hestia #

0 commit comments

Comments
 (0)