On Mon, 13 Jan 2003 13:49:01 -0500 (EST), dman(_at_)nomotek(_dot_)com wrote:
=> That's fine as quick safety measure. Generally, the " won't need
=> to be quoted unless the recipe uses the `$' for shell-like parsing
=> rules, I think.
Works nicely with (mind the embedded line wrap on the
variable definition and the third conditional line):
VIRUSPGM="[- a-zA-Z0-9_]+\.\
(bat|chm|com|cpl|dll|exe|hlp|hta|jse?|key|lnk|ocx|pif|reg|scr|sh[bs]|vb[se]?|ws[fhe])"
:0 B
* CAPTURETHIS ?? FALSE
* > 30000
* $ ^Content-Type:${WHITESPACE}\
application/octet-stream;\>(.*\<)?name=["]?${VIRUSPGM}["]?${WHITESPACE}$
{ CAPTURETHIS="Improved general octet-stream virus trap" }
Cheers,
- Don
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail