Skip to content

Commit ed4a158

Browse files
authored
IMAP Quota
Some changes are needed to enable the showing of quota showing in Roundcube and other IMAP clients. See http://forum.vestacp.com/viewtopic.php?f=16&t=9197 for details.
1 parent bbd731a commit ed4a158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-mail-account

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
6262
if [ "$quota" = 'unlimited' ]; then
6363
quota='0'
6464
fi
65-
str="$account:$md5:$user:mail::$HOMEDIR/$user:$quota"
65+
str="$account:$md5:$user:mail::$HOMEDIR/$user::userdb_quota_rule=*:storage=${quota}M"
6666
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
6767
fi
6868

0 commit comments

Comments
 (0)