Hi,

I just finished writing a small plugin that reports XFS project quota in de
IMAP component of Dovecot (1.2, currently). It was written to fill the
needs of our organization but someone else might find this useful as well.
In its current form it's not suitable for inclusion in the generic quota
backend (see “Drawbacks”).


Features:

 - every mailbox/folder can have its own project ID;

 - every project ID is mapped to a quota “root”;

 - caching to ensure reasonable performance;

 - Debian APT repository available;

 - LGPL 3 (just like Dovecot itself).
 

Drawbacks:

 - quota are readonly, you'll have to manage limits and project assignment
   yourself;

 - IMAP only: I tried to write a generic quota backend, but the current
   setup of the quota plugin does not really seem to permit this;

 - extremely Linux-specific: assumes devices to be available under
   /dev/block/<maj>:<min> (this is valid for at least Debian lenny);

 - received only very limited testing;

 - no documentation whatsoever.


How to get it:

Sources:
https://www.non-gnu.uvt.nl/pub/dovecot-prjquota/

Subversion:
https://svn.non-gnu.uvt.nl/uvt-dev/trunk/sources/dovecot-prjquota/

Debian (amd64):
deb http://non-gnu.uvt.nl/debian lenny dovecot-prjquota
deb-src http://non-gnu.uvt.nl/debian lenny dovecot-prjquota


Configuration:

protocol imap {
        ...
        mail_plugins = imap_prjquota
        ...
}


Setting up XFS project quota in general:

http://blogs.cae.tntech.edu/mwr/2009/09/01/setting-up-project-quotas-under-xfs-in-debian-gnulinux/


cheers,

-- 
Wessel Dankers <w...@fruit.je>

“Sysadmins busy fighting SPAM.”

Attachment: signature.asc
Description: Digital signature

Reply via email to