Gary V wrote:

>If you use 2.3.0 or newer and your intent is to allow a particular
>recipient to receive certain files that are blocked by the current
>settings in banned_filename_re
>
That was the intent.  I should've wrote this in my 1st message but we're 
using amavis 2.4.4.

>%banned_rules = (
>  'ALLOW_EXE' =>  new_RE(
>      [qr'.\.(exe|com)$'i => 0],  # pass .exe and .com files
>      # block certain double extensions anywhere in the base name
>      qr'\.[^./]*[A-Za-z][^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i,
>      [ qr'^\.(rpm|cpio|tar)$'       => 0 ],  # allow any in Unix-type archives
>      qr'.\.(vbs|pif|scr|cmd|cpl|bat)$'i,  # banned extension - basic
>      qr'^\.(lha|cab|dll)$',  # banned file(1) types
>      ),
>  'DEFAULT' => $banned_filename_re,
>);
>  
>
We tried this but it didn't work, the file kept being rejected even if 
it wasn't in the list.  We had to put
  [ qr'^\.(wmf)$' => 0],

in the list, similar to the unix-type archives for it to work.

Thanks for your help.




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to