In a large typical environment one uid/gid is assigned for all Maildir so file system quota does not fit. In all environments, disk space are limited.
This is a patch to modify the way maildir++ manages quota. In the original implementation, one can imap copy as many mail as wanted into the trash folder, and messages marked as deleted are substracted from the maildirsize file although there are still on the file system: this way, it is possible to bypass maildir++ quota system.
This patch is a quick hack and has not been heavily tested, so consider it as of beta quality. (waiting for your feedback)You use it at your own risk
| Original tar.gz | Patch |
|---|---|
| 1.4.5.20020509 | 1.4.5.20020509-quota |
| 0.35.1 | 0.35.1-quota |
Q: Got a message "quota exceeded"
A: This message occurs when you try to do an operation that require a COPY command and you will exceed your quota by doing so. For example it can happen when trying to delete a message: some clients do a copy of the message in the Trash folder before removing it from the filesystem. Some clients (messenger or squirrelmail for example) have a configuration option to avoid this behaviour. Thank you to help me to do a list of clients that have, or not, this configuration option.
| Client | Version | Able to delete without copy ? |
|---|---|---|
| Netscape Messenger | 4.77 (maybe older) | yes |
| SquirrelMail | 1.2.6 (maybe older) | yes |
| Sylpheed | 0.7.4 | no |
freddy@lovelinux.org