I would like to load a variable from a file in the beggining of my
.procmailrc and then act in several rules depending on the contents of the
variable. All I really need is for it to either be 'true' or 'false' (I'd
rather have it as 'yes' and 'no', but true/false will do just fine). Then
I'd have a rule like this:
:0
* condition
* condition
{
if variable=YES
EXITCODE=67
endif
:0
/dev/null
}
Could someone tell me the syntax for the if-block? I'm pretty sure everybody
understands what I want here... If the variable is set to yes, all the rules
that have EXITCODE=xx will bounce mail, if it isn't set to yes, they won't.
Thanks,
Luka
* Luka Kladaric * mailto:lkladar+mail(_at_)komoseva(_dot_)globalnet(_dot_)hr *
* http://luka.kladaric.net * ICQ: 100757909 *
* GSM: +38598473999 * Ph: +38516551701 *
* Too many freaks, not enough circuses *
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail