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.
@@ -58,7 +58,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
quota=0
fi
sed -i "/^$account:/d" $HOMEDIR/$user/conf/mail/$domain/passwd
- str="$account:$md5:$user:mail::$HOMEDIR/$user:$quota"
+ str="$account:$md5:$user:mail::$HOMEDIR/$user::userdb_quota_rule=*:storage=${quota}M"
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd