procmail
[Top] [All Lists]

Re: Filtering undigested messages

1995-11-11 17:30:39
 
Why does the following recipe not delete any "Insurance" or "Quicken" 
subjects?  

        Because each message is getting spit out to stdout and they are
getting concatenated into one again.
 
Also, do |formail'ed messages get filtered by the whole .procmailrc or
just the remainder after the |formail... line? 

        Just the remainder of the action line.  Then they may continue to
other things.
 
Thanks.

      :0fw
      |formail -A"X-Digest: $MATCH" -i "Reply-To: $MATCH" -des

      :0
      * ^Subject:.*(insur|quicken)
      /dev/null

      :0r:
      IN-persfin

        Basically the problem is that none of the letters are being dealt
with independently.  To arrange that you probably want something like:

formail -des procmail ........

where you give procmail an rc file that will do what you want it to do....

Soren

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