This is a discussion on [AMaViS-user] Problems blocking attachments by extension within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello, I'm trying to block some file extensions and use a code like this: $banned_namepath_re = new_RE( qr'(?# BLOCK COMMON ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I'm trying to block some file extensions and use a code like this: $banned_namepath_re = new_RE( qr'(?# BLOCK COMMON NAME EXENSIONS ) ^ (.*\t)? N= [^\t\n]* \. (pif|scr|doc) (\t.*)? $'xmi, ); %banned_rules = ( 'DEFAULT' => $banned_namepath_re, ); But the email containing the .doc file is delivered and Passed CLEAN without problems. Am i doing anything wrong? I've double checked it and couldn't find the problem. Thank you -- Renato Botelho ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|