procmail
[Top] [All Lists]

Re: Bypass large files with filter

2006-01-25 07:54:34
Robert McKenzie schreef:
Ruud H.G. van Tol wrote:

Alternative-1:

    :0
    * > 150000
    {SWITCHRC}    # go to user's procmailrc

This still seems the sanest to me: leave it to the user what to do
with the big message.

The only question is if the user doesn't have a ~/.procmailrc what
happens?  Will it just deliver to $DEFAULT?  Only a couple of the
more advanced users have their own rc files. 

Most probably: Yes. 

Easy to check too, just put this in the top of the /etc/procmailrc 

     :0
     * > 999999
     * LOGNAME ?? ^^user^^
     {SWITCHRC}    # go to user's procmailrc

and send a multi-MB message to that user-without-.procmailrc 
and see if it arrives too fast.

Actually not a bad idea: delaying delivery of large messages.

-- 
Grtz, Ruud

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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