Double File extension

Alex Neuman alex at vidadigital.com.pa
Mon Jan 20 14:25:07 GMT 2014


Yes. You could create a perl regular expression (regexp) that can match
that.

Here's more info:

http://perldoc.perl.org/perlretut.html

Otherwise just comment out with a # the double extension rule and match on
.exe, .com, .pif, .scr and such.

It's much easier than hitting your users upside the head with a
clue-by-four.



*Alex Neuman van der Hans*Reliant Technologies / Vida Digital
http://vidadigital.com.pa/

Mobile: +507-6781-9505
Work: +507-832-6725
Work (USA): +1-440-253-9789

Follow *@AlexNeuman <https://twitter.com/alexneuman>* on Twitter
Like Vida Digital <https://facebook.com/vidadigital/> on Facebook
Follow VidaDigital <http://instagram.com/vidadigital> on Instagram
Subscribe to Vida Digital <https://youtube.com/reliantpty> on Youtube


On Mon, Jan 20, 2014 at 8:22 AM, Johan Hendriks <joh.hendriks at gmail.com>wrote:

> Hello all.
>
> I have mailscanner running and it all works quite well.
> The only thing i encounter is that people use a lot of (.) in there
> files, and this triggers the deny rule of multiple extensions.
>
> Is there a way to only check the last two extensions, and only block if
> both are three caracters long?
>
> regards
>
> Johan
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140120/b2454d30/attachment.html 


More information about the MailScanner mailing list