procmail
[Top] [All Lists]

Re: Mailbox Quotas

2002-02-14 00:06:24
Michael J Wise wrote:

How are you implimenting the quotas?

Just thot of at least ONE possible reason. Oh well.
There must be a better way than this, but...

        :0
        * ! ? echo "$USER" | fgrep -wiqf /etc/mail/staffers
                {
                size=`ls -l /var/mail/$USER | awk '{ print $5 }'`

                :0
                * ? [ 5000000 -lt ${size} ]
                        {
                        # bounce it.
                        }
                }

Goes without saying, but: "The above is untested code."

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>