Skip to content

Commit bbd731a

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 8ee45bc commit bbd731a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-change-mail-account-password

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ md5="{MD5}$($BIN/v-generate-password-hash md5 $salt <<<$password)"
5656

5757
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
5858
sed -i "/^$account:/d" $HOMEDIR/$user/conf/mail/$domain/passwd
59-
str="$account:$md5:$user:mail::$HOMEDIR/$user:$quota"
59+
str="$account:$md5:$user:mail::$HOMEDIR/$user::userdb_quota_rule=*:storage=${quota}M"
6060
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
6161
fi
6262

0 commit comments

Comments
 (0)