Disk quotas on INBOXes

Patrick O'Callaghan pocallaghan at gmail.com
Sat Mar 7 16:38:27 UTC 2009


On Fri, 2009-03-06 at 18:51 -0700, Ashley M. Kirchner wrote:
> Our user e-mail INBOXes are sitting in /var/mail/[user].  Does 
> anyone know of a way for me to institute per-user quota on their 
> INBOXes?  See our problem is that while I can apply user-quotas on 
> /home/[user], that doesn't take into account what's on /var/mail/[user] 
> ... and some users are leaving their e-mail sitting in their INBOX 
> because they don't want to eat up their user quota.  So, I want to limit 
> the size of their INBOX file as well, through quotas.

Depending on how your mail system is set up, I'd recommend doing this in
your mail server software. For example, the better IMAP servers such as
Cyrus do this and give you much finer control than the sledgehammer
approach of limiting the filesystem.

poc




More information about the fedora-list mailing list