amavis-user  

Re: [AMaViS-user] Allowing Banned pdf

Gary V
Fri, 24 Mar 2006 06:55:05 -0800

Francesc wrote:

> Hi. I have an issue with a banned mail. It containts some
> pdfs and I checked the amavis configuration trying to allow
> it. But I'm not able to find the line that forbids it.

> I searched the mailing list but I'm still clueless.

> The amavis $VERSION is '2.037'.

> This is the report from amavis:

> Our content checker found
>     banned name: P=p004,L=1,M=multipart/mixed |
> P=p002,L=1/2,M=application/pdf,T=pdf,N=Programa Candidatura ...
> Direcció ETSETB.pdf,N=Programa Candidatura ... Direcció ETSETB.pdf

> This is the closest line I found in amavis hinted by mails
> found in the mailing list archives:

> qr'.\.(exe|vbs|pif|scr|bat|cmd|com|cpl)$'i, # banned extension - basic

> I searched pdf in the conf file and there is not such extension.

> What am I missing ? thank you very much.

Possibly this?:

# # banned declared names with three or more consecutive spaces
 qr'(?# BLOCK NAMES WITH SPACES )
 ^ (.*\t)? N= [^\t\n]*  [ ]{3,} 'xmi,

Have the sender rename the file and see if the spaces are the problem.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
  • Re: [AMaViS-user] Allowing Banned pdf Gary V