procmail
[Top] [All Lists]

Re: Help matching the value of a variable

2001-10-04 04:12:21
* Louis LeBlanc 
<leblanc+procmail(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net> [20011004 
06:43]: writing on the subject 'Help matching the value of a variable'
| Hey all.  I'm trying to match based on a variable passed into
| procmail.  The variable indicates the folder the message is to be
| delivered to, and I want to toss the message if it is set to a certain
| value and the subject matches.
| 
| I really suck at recipes, so don't laugh:
| 
| :0
| * $EXTENSION webmaster ??

Is the variable $EXTENSION already defined? Where should it be obtained from, 
body, headers?

:0B
* ?? $EXTENSION webmaster

Just a try. I am not quite good at these things either ;)


| * ^Subject: .* Returned mail
| {
|   EXTENSION=trash
| }
| 
| Anyone care to correct the variable match?
| 
| Thanks
| Lou
| -- 
| Louis LeBlanc       leblanc(_at_)acadia(_dot_)ne(_dot_)mediaone(_dot_)net
| Fully Funded Hobbyist, KeySlapper Extrordinaire :)
| http://acadia.ne.mediaone.net                 Ô¿Ô¬
| 
| Minicomputer:
|   A computer that can be afforded on the budget of a middle-level manager.
| 
| _______________________________________________
| procmail mailing list
| procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
| http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
-Wash

--
Odhiambo Washington
Wananchi Online Ltd.,
wash(_at_)wananchi(_dot_)com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE

If a trainstation is where the train stops, what's a workstation...? 
_______________________________________________
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>