Email disk usage totals for dovecot

Version 1.262


wu-imap saved everything as root, so DA always assumed that it was not in the quotas, and always counted the files owned by root in the ~/imap directory. With dovecot, files are all owned by the user, so none need to be counted. DA was still checking for the root files, which no longer existed, thus the email totals showed 0. The system quotas *are* counting the emails though, it's just a cosmetic issue. Fix will count the non-root files in the imap directory if dovecot is being used. It won't be added to the total disk usage as the system quotas have that taken care of already. It will just fix the email usage total.

Interested to try DirectAdmin? Get a 30-day Free Trial!