Can't disable scanning of attachements

Jerry Benton jerry.benton at mailborder.com
Tue Jun 23 09:32:44 UTC 2015


Change it to “allow” and put your Filename and Filetype rules back in the configuration. 

-
Jerry Benton
www.mailborder.com



> On Jun 23, 2015, at 5:30 AM, gojensen <mailscanner at gojensen.no> wrote:
> 
> Hi! We have tons of "false" positives from the attachement scanning part of mailscanner. Apparently our users get's lots of archive files with double extensions and stuff.
> 
> At FIRST I tried to comment out this Part of filename.rules.conf:
> # Deny all other double file extensions. This catches any hidden filenames.
> deny   \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible filename hiding                          Attempt to hide real filename extension
> 
> That didn't help, even after forcefully restarting mailscanner.
> I then opted for these settings:
> 
> Filename Rules =
> Filetype Rules =
> Archives: Filename Rules =
> Archives: Filetype Rules =
> Maximum Archive Depth = 0
> 
> But it's STILL denying my attachements and replacing them with that default text message.
> 
> Help?!
> 
> Running MailScanner Version = 4.85.2 on Ubuntu with Postfix.
> 
> -- 
> // gojensen
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 



More information about the MailScanner mailing list