OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Limiting the size of mail box
From: Anand Buddhdev (arbanand.org)
Date: Tue Feb 08 2000 - 08:45:06 CST


On Tue, Feb 08, 2000 at 01:55:43PM +0100, Ralf Hildebrandt wrote:

> > But I want to limit the size of the mail boxes as well. Is there a
> > system in postfix to do that ? I want for example to limit the size of
> > each file in /var/spool/mail to 20 Megs.
>
> You could (?) use procmail for local delivery. I bet procmail can check the
> size of the mailbox and deny writing iff > 20 MB.
>
> > The only solution for now is to use disk quotas, but I prefer to have
> > Postfix doing that job.
>
> Why no quotas? At least you can be sure they're implemented correctly (as
> opposed to a procmail recipe...)

Since this guy has 200 or so mailboxes, system quotas really are the
best way of achieving such control, but I can think of a situation where
all POP mailboxes are owned by a single user, and then system quotas
become useless. In that case, we need the local delivery agent (postfix,
procmail or whatever else) to be able limit mailboxes to a certain size.

-- 
See complete headers for more info