Subject: Re: How to limit the e-mails a user can receive
To: Dante Profeta <dante@neomedia.it>
From: Zdenek Salvet <salvet@horn.ics.muni.cz>
List: netbsd-help
Date: 07/15/1996 11:31:35
> I have to limit the e-mails the users can receive _per_quota_basis_.
> For this purpose I mounted a quoted /var/mail partition, but I've seen that mail.local
> append the messages to a "user" file with the directory privileges (root, wheel), making
> the quota armless.
> To avoid this behaviour I modified the mail.local source to manually check the user quota
> and let it append the message only if the quota limit is not exceded.
> 
> Please let me know if (or not) another solution exists.

seteuid(2) to user

-- 
Zdenek Salvet                                              salvet@ics.muni.cz 
----------------------------------------------------------------------------
           If God had meant for us to be in the Army,
         we would have been born with green, baggy skin.