js in zip attachment of e-mail

Dino Edwards dino.edwards at mydirectmail.net
Wed Mar 2 15:32:48 CET 2016


Like this:

[qr'.\.(js)$'ix => 1]

Assuming you have a zip extractor installed in your machine it will work inside zip files. 


> -----Original Message-----
> From: amavis-users [mailto:amavis-users-
> bounces+dino.edwards=mydirectmail.net at amavis.org] On Behalf Of @lbutlr
> Sent: Wednesday, March 02, 2016 9:10 AM
> To: amavis-users at amavis.org
> Subject: Re: js in zip attachment of e-mail
> 
> On Mar 1, 2016, at 3:05 PM, Jakob Curdes <jc at info-systems.de> wrote:
> > Am 01.03.2016 um 22:38 schrieb Thomas Spuhler:
> >> There are a lot of e-mails on the lose with subject "Unpaid invoice # xxxx"
> >> containing a zipped js (Java Script) I got about 10 of them today.
> >> Is there a way to filter them out using amavisd?
> >
> > We just banned .js as mail attachments everwhere, no sane human would
> probably send .js files as a mail attachment over a public mail server!?
> 
> I'm new to amavisd, how exactly would I add .js to the blacklist and will that
> work for .js files inside zips?
> 
> 
> --
> No matter how fast light travels it finds the darkness has always got there
> first, and is waiting for it.



More information about the amavis-users mailing list