procmail
[Top] [All Lists]

If VARIABLE = (this|orthis|orthat)

2001-11-28 09:39:40

If I have a variable defined thus:

        REPLYTO=`formail -rtzxTo:`


Then assume that REPLYTO = one of

        joe(_at_)aol\(_dot_)com|\
        ed(_at_)msn\(_dot_)com|\
        john(_at_)yahoo\(_dot_)com|\


If REPLYTO = any of those 3, then I want to put the message into a special
folder

(actually I've got about 75 names, not 3, but the principle is the same)

How do I do that?  I've looked through all my old emails and example scripts
and I know it's there somewhere but I can't find it and I've gone crosseyed
looking.


Thanks

TjL

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