On Wed, 5 May 2004, Eric Wood wrote:
----- Original Message -----
From: "Udi Mottelo"
One step before the the antivirus recipe, do:
:0
* LOGNAME ?? ^^wwwxxxyyy^^
{ SWITCHRC=/where/user/likes/junkrc }
Please explain this syntax. Thank you.
* Condition
LOGNAME Current user i.e. the recipient (in short explain)
?? Match with ...
^^ Very beginning of the variable
wwwxxxyyy Or any Regular Exp (see Dallman Ross note)
^^ Very end of the variable
{ Action
" " At least one BLANK
SWITCHRC=...file Read from this file as procmailrc script _AND_
_FORGET_ the current procmailrc script!
" " At least one BLANK
} End of action.
Bye,
Udi
-eric wood
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
---------------------------------------------------------------------------
Udi Motelo - Unix System Administrator.
Faculty of Engineering - Tel-Aviv University
E-Mail: uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il Phone: +972-3-6408958
---------------------------------------------------------------------------
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail