Blocking 7-Zip archives

Peter Lemieux mailscanner at replies.cyways.com
Wed Oct 18 21:05:00 UTC 2017


Thanks, Shawn.

It worked when I added "\.7z$" to the Deny Filenames directive in 
MailScanner.conf.

Peter


On 10/18/2017 03:45 PM, Shawn Iverson wrote:
> Wrong place for this rule.  This one is for items inside the archive.
> 
> On Wed, Oct 18, 2017 at 3:43 PM, Peter Lemieux 
> <mailscanner at replies.cyways.com <mailto:mailscanner at replies.cyways.com>> wrote:
> 
>     I added a rule to archives.filename.rules.conf to block 7-Zip archives,
>     but it doesn't seem to work.  I used
> 
>     deny    \.7z$   -       -
> 
>     with tabs between each field.  When I send a message with a .7z
>     attachment it sails on through.
> 
>     This is CentOS release 6.8 (Final)
>     This is Perl version 5.010001 (5.10.1)
>     This is MailScanner version 4.85.2
> 
> 
>     Peter
> 
> 
>     -- 
>     MailScanner mailing list
>     mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>     http://lists.mailscanner.info/mailman/listinfo/mailscanner
>     <http://lists.mailscanner.info/mailman/listinfo/mailscanner>
> 
> 
> 
> 
> -- 
> Shawn Iverson, CETL
> Director of Technology
> Rush County Schools
> 765-932-3901 x271
> iversons at rushville.k12.in.us <mailto:iversons at rushville.k12.in.us>
> 
> 
> 
> 
> 
> 


More information about the MailScanner mailing list