[Dovecot] Sendmail, procmail, dovecot and quota

papi mac papi_m_a_c at yahoo.com
Tue Jan 8 19:30:01 EET 2008


I have Fedora 7 from a standard installation running sendmail, procmail and dovecot 1.0 installed on a single partition. I now need to set up mail quotas for most of the users but not all. Just protecting /var/spool/mail/$LOGNAME is probably good enough for me. Since I just want mail quotas and the installation is on just 1 partition I don't have an easy way to use file system quotas. By reading through the dovecot documentation and list archives I have the feeling that this is possible with the versions and setup I have. I would probably need a main line like this (apart from other lines) per user mailbox that needs to be managed:

dirsize:/var/spool/mail/joe-user:storage 10240

to give joe-user a 10 mb limit.

Since this server is in production I don't have the luxury of experimenting (extensively) on it.

I have a question though that I have not been able to answer yet. If the flow of mail goes from sendmail to procmail to the mailbox, how is it possible for dovecot to implement quotas on the inbox? Or would dovecot write something there that procmail has to honor? 

Is dovecot the way to do this? Am I misunderstanding what "quotas" mean in dovecot?

Thanks for any clues.


       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.


More information about the dovecot mailing list