Disk quotas on INBOXes

Mike Burger mburger at bubbanfriends.org
Sat Mar 7 16:18:57 UTC 2009


>
>     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.
>
>     Possible?

You can set quotas on the /var filesystem...though, with logs and other
stuff there, I'd be more inclined to make /var/mail (actually
/var/spool/mail) its own filesystem, and then set quotas on that.

On the other side of that coin, I'm running Postfix instead of
Sendmail...Postfix has an option in the /etc/postfix/main.cf file that can
be used to control the maximum size of the main inbox, as well as the
maximum size of emails that can be accepted/delivered.

Those settings are:

mailbox_size_limit =

and

message_size_limit =

Hope these suggestions help.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe at bubbanfriends.org




More information about the fedora-list mailing list