Allowing .bmp files

Alex Neuman van der Hans alex at nkpanama.com
Tue Nov 28 20:10:57 GMT 2006


Just commenting out the deny line will work, although adding the allow 
*before* the "deny double extensions" would allow you to receive 
"filename.no.1.bmp", which would be blocked by the "double extensions 
rule", for example.

Kaplan, Andrew H. wrote:
> Hi there –
> 
>  
> 
> Several of our users get messages with .bmp files included as 
> attachments. The current settings of our MailScanner/ClamAV configuration
> 
> does not allow these files to get through. The request has been made to 
> allow these files. To allow this, my plan was to modify the 
> filename.rules.conf
> 
> file by commenting out the following line:
> 
>  
> 
> deny     \.bmp$              Windows bitmap…
> 
>  
> 
> After that, my next step would be adding the following line further down 
> in the file:
> 
>  
> 
> allow     \.bmp$              -           -
> 
>  
> 
> After that, I would restart the mail server. Will this approach work, or 
> is there a better way? Thanks.
> 



More information about the MailScanner mailing list