Courier quota patch

Context

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.

Maildir++

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.

Download

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.gzPatch
1.4.5.20020509 1.4.5.20020509-quota
0.35.1 0.35.1-quota

FAQ

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.

ClientVersionAble to delete without copy ?
Netscape Messenger4.77 (maybe older)yes
SquirrelMail1.2.6 (maybe older)yes
Sylpheed0.7.4no

TODO

Bugs

Contributions and comments

freddy@lovelinux.org

Valid XHTML 1.0! Valid CSS!