Re: [Exim] exiscan-acl-4.31-16

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Bruce Richardson
Fecha:  
A: exim-users
Asunto: Re: [Exim] exiscan-acl-4.31-16
On Wed, Mar 31, 2004 at 09:54:37AM -0600, Edgar Lovecraft wrote:
> > And the demime function doesn't take wildcards or regexes, so you
> > can't
> > use it block attachments with CLSID extensions, for example. The
> > MIME
> > acl will let you do that.
> >
>
> No, but this does work (watch for wrap in the regex).
>
> deny message = CLSID found
>      regex   = \
> ^(?i)Content-Disposition::(.*?)filename=\\s*"+((\{[a-hA-H0-9-]{25,}\})|((.
> *?)\\s{10,}(.*?)))"+\$


I prefer not to filter against the message body like that. There is an
unavoidable risk of false positives.

--
Bruce

It is impolite to tell a man who is carrying you on his shoulders that
his head smells.