I don't understand why you switch off mail quota if set maildir format ? i set maildir format, manually uncomment include=.quota.rc and set variable of QUOTA in procmail.rc and all working fine. but i change one string in quota.rc to: MAILBOX_SIZE_REPORT_=`du -bs ${DEFAULT} | awk '{print $1}'` it's command i think better for big size mailbox.
Mailquota works even when you do not uncomment the quota include. ISPConfig uses system quota for maildirs, not the quota script. The quota script has proven to bee too unreliable and not working correctly for maildirs.
but why ? this command: MAILBOX_SIZE_REPORT_=`du -bs ${DEFAULT} | awk '{print $1}'` just sum size of files in maildir directory and not else if MAILBOX_SIZE_REPORT_ < MAILQUOTA then ok else send reply message what's problem ? i'm not undestand. explain pls. thanks.
Because the Maildirs of the users are in subdirectories of the web's base directory for which you've already applied a quota (web space). If you use mbox then the mail boxes are in /var/spool/mail which does not belong to the web's base directory, therefore we apply a special quota to them.