I have dicovered that standard quota implementation on maildir++ operated by maildrop and courier-imap (installed on ubuntu machine) does not count mails in a .Trash directory.
Users now have almost unlimited mail space. Is there any option to disable this bad behavior without recompiling maildrop and imap packages?
If not, how i can do this on ubuntu 12.10?
Edit:
ive recompiled maildrop and courier-imap packages with
DEB_BUILD_OPTIONS="--with-trashquota" fakeroot debian/rules binary
and nothing changes, trash is still unlimited.
Edit2:
More information according to mr.spuratic
question in comments:
- User information are stored in a PostgreSQL database.
- Yes, all users has
maildirsize
in their maildirs, and quota is working (webmail and thunderbird shows right values) - Yes, im using maildrop