On Wednesday, March 02, 2016 04:34:39 PM @lbutlr wrote:
> On Wed Mar 02 2016 07:32:48 Dino Edwards      <dino.edwa...@mydirectmail.net> 
> said:
> > Like this:
> > 
> > [qr'.\.(js)$'ix => 1]
> 
> And where would I put that? And what sort of config is that? I’ve never seen
> any config file that put things inside square brackets…


I changed this line in /etc/amavisd/amavisd.conf in section $banned_filename_re 
= new_RE(  

qr'.\.(pif|scr)$'i,                     # banned extensions - rudimentary
to
qr'.\.(pif|scr|js)$'i,                     # banned extensions - rudimentary

then need to restart amavisd


-- 
Best regards
Thomas Spuhler

All of my e-mails have a valid digital signature
ID 60114E63

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to