Can't disable scanning of attachements

Paul Sand pas at unh.edu
Tue Jun 23 10:02:35 UTC 2015


* gojensen <mailscanner at gojensen.no> [2015-06-23 05:35]:
> 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

We changed this to

rename to _$1.$2        \.([a-z][a-z0-9]{2,3}\s*)\.([a-z0-9]{3})$ Found possible filename hiding                          Attempt to hide real filename extension

... which changes (for example) "chapter.one.doc" to "chapter_one.doc".

-- 
-- Paul A Sand <pas at unh.edu>
-- Information Technology / University of New Hampshire
-- http://pubpages.unh.edu/~pas
-- Sanitized for your protection.


More information about the MailScanner mailing list