procmail
[Top] [All Lists]

need help with variable testing

1998-04-22 23:58:04

I need a more complex set of rules for determining if a message is sent to  
me (ie not a list) than I can get in any one recipe or even one set.

I'd like to do this:

TOME=no

test for this, if found set TOME=yes

test for that, if found set TOME=yes

test for another, if found set TOME=no

etc

and then after all that is done, pick INCLUDERCs based on whether TOME is  
set to 'yes' or 'no'

Would that be:

:0
* $ $TOME=yes
{ INCLUDERC=To_me.rc }

:0E
* $ $TOME=no
{ INCLUDERC=Not_to_me.rc }

?  Am I even close?

TjL



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