procmail
[Top] [All Lists]

RE: zips getting past recipe for virtual domain

2004-03-25 14:13:35
On 25 Mar, scott.list wrote:
| [...]
| 
| > > * ^.*name=.*\.zip
| 
| [...]
| 
| procmail: No match on "name=*\.zip"
| 
| [...]
| 
| Done. I changed it to:
| 
| # Doom, etc. viruses (this chunks all messages this size and zip
| attachment)
| :0 B
| * > 3000
| * < 40000
| * name=*\.zip

Note the differences following the equal sign (=) in the two quoted
conditions.  The first is: =.* and the second is =* (no dot).

The log snippet indicates the condition in place does not have the
dot.  You need the dot.  It's a regular expression not file globbing.
Your regular expression is matching "name" followed by zero or more "="
followed by ".zip".  In other words:

name.zip
name=.zip
name==.zip
name===============.zip

That's why it's not matching.


-- 
Email address in From: header is valid  * but only for a couple of days *
This is my reluctant response to spammers' unrelenting address harvesting



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail