procmail
[Top] [All Lists]

Re: Filter Order in Procmailrc

1997-09-18 14:10:55
Bryan Farrish <datela(_at_)datela(_dot_)com> writes:

When procmail uses its rc list against a given incoming email, does it 
actually start at the top of the rc and move down?  This would be 
important in the case of doing your discussion-list filtering first (at 
the top of the rc,) and then at the bottom, having a command that would 
trash any email which did not have my address in the TO field.

Yes, it goes top down. From procmailrc(5):

     The first recipe that matches is used to determine where the mail
     has to go (usually a file).  If processing falls off the end  of
     the rcfile, procmail will deliver the mail to $DEFAULT.

Chris

-- 
Chris D. Halverson                         Complete Internet Solutions
PGP mail accepted, finger for public key   http://www.CompleteIS.com/~cdh/

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