On (2002/10/07 17:04), Nico Erfurth wrote:
> > deny message = message fragments administratively prohibited
> > condition = ${if match \
> > {$h_content-type:}{\N\bmessage/partial\b\N}{1}}
> >
> >All that was missing was the colon terminating the header. I've used
> >PCRE's "match word boundary" to terminate the match of the offensive
> >content type, to minimize hiding.
>
> IIRC you don't need the colon in such cases ;)
You need a colon when the character following the header is not a
space. Here, it's a closing brace, so you get:
2002-10-07 16:52:21 xxxxxx-xxxxxx-xx H=foo [w.x.y.z]
F=<foo@foo> temporarily rejected after DATA:
failed to expand ACL string
"${if match {$h_content-type}{\N\bmessage/partial\b\N}{1}}":
missing } at end of string -
could be header name not terminated by colon
Anyway, your original suggestion got me going, and I understood that it
was written off the cuff and shouldn't be used without testing. :-)
Thanks,
Sheldon.