Subject: Re: disk quota for /var/mail?
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Bill Sommerfeld <sommerfeld@orchard.east-arlington.ma.us>
List: current-users
Date: 03/20/1997 08:34:37
> > the most cited response is to deliver mail to the users home dir
> >
> > or you apply quotas for users on the mail partition itself.
>
> I just set up quotas for /var, but it didn't help. I guess the mail
> is delivered by a root process which doesn't care about quota limits.
I made this "work" a long time ago at athena on 4.2bsd..
As I recall, you need to fix mail.local to:
- do the write as the user, not as root, so quotas are
enforced.
- return a sensible error code when a user is over quota (I had it
return EX_TEMPFAIL; others might be more brutal).
- Bill