procmail
[Top] [All Lists]

Re: Best method for action if one of many conditions met.

1998-02-10 01:02:43
Mon 98-02-09 Sherwood Botsford <sherwood(_at_)math(_dot_)ualberta(_dot_)ca> 
list.procmail
| 
| if *any* of the following lines match, then consider it
| matched, and take the action.

Howabot using simple killfile recipe?
jari


   13.13 Kill: simple killfile recipe with procmail [pm-tips.txt]

        Killfiles are widely used with newsreaders to delete uninteresting
        posts when you enter a newsgroup. A killfile usually contains one
        single entry per line to match the message content and this can be
        easily done with procmail. Remember however that for every message
        procmail forks a process, so before you apply the killfile rules to
        the messages, be sure your recipes are in this order: the killfile
        rules are applied only to *unknown* messages

            SINK MAILING-LISTS
            SINK ANNOUNCEMENTS
            SINK WORK MESSAGES
            OTHER DELIVERIES
            apply killfile rules and UBE recipes to the rest

            :0 w: 
            * ? egrep -i -f $HOME/.killfile
            {
                ...your're busted                  
            }
 

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