Noel Jones a écrit :
> On 3/13/2010 2:26 AM, Luis Daniel Lucio Quiroz wrote:
>> What param do I have to set
>>
>> to avoid when user change its extension of exe files?
>>
>> I wonder to block if possible better by file recogition rather than a 
>> extension
>>
>> LD
> 
> look in your amavisd.conf for the $banned_filename_re section.
> Under that, there should be a line something like
>   qr'^\.(exe-ms|dll)$',                   # banned file(1) 
> types, rudimentary
> 
> The line may be commented out with a "#" at the beginning; 
> remove the "#" to activate that rule.
> 

I think OP means the other way. He fears that users could escape the ban
just by renaming the file.

if so, then for OP: amavisd-new does check the file type too.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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