procmail
[Top] [All Lists]

Re: Add X-Header to see which filter greps

2008-08-08 08:42:17
On Fri, 08 Aug 2008 09:06:39 +0200, Remien, Carsten wrote:
Hi,

I would like to see, which procmail filter has moving my mail to a 
special IMAP folder.
Is it possible to set a X-Header in each filter?
Or is there any other soultion?


  #  Kill the %&*((!)(*& "LINK EXCHANGE" emails
  #  10-Apr-07
  :0
   * ^Subject:.*link.exchange
    {
      LOG=">>>> DELETED - Subject: Link exchange $TOHDR $NL"
      :0 fwh
      | formail -I"X-DELETED-SPAM: Subject: Link exchange ${TOHDR}"
      :0:
      $DELETE
    }

Jonesy
-- 
  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
    *** Killfiling google posts: <http://jonz.net/ng.htm>

____________________________________________________________
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>