procmail
[Top] [All Lists]

Re: Rule that does nothing than matching

2004-06-12 06:28:03
On Sat, 12 Jun 2004 14:54:40 +0200, Sascha Andres
<sa(_at_)programmers-world(_dot_)com> wrote:
I want to have a rule that matches on a header. Based on the
result of this match I want to have further rules executed.

(1) How can I have a rule that does only the matching?

:0
* ^Header:\/.*
{
   MYMATCH = $MATCH

   :0
    * MYMATCH ?? something
    do something

   :0
   * MYMATCH ?? something else
   something else

   other rules
}

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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