mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
fix for unlimited mail quota
This commit is contained in:
parent
99e73ded9c
commit
3e3ecca996
1 changed files with 3 additions and 0 deletions
|
@ -515,6 +515,9 @@ rebuild_mail_domain_conf() {
|
|||
fi
|
||||
|
||||
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
|
||||
if [ "$QUOTA" = 'unlimited' ]; then
|
||||
QUOTA=0
|
||||
fi
|
||||
str="$account:$MD5:$user:mail::$HOMEDIR/$user:$QUOTA"
|
||||
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
|
||||
for malias in ${ALIAS//,/ }; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue