OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: pcre and body checks

From: Stephen Carville (carvillecpl.net)
Date: Tue Jul 01 2003 - 18:55:49 CDT


On Tuesday July 01 2003 04:08 pm, Noel Jones wrote:
> At 03:49 PM 7/1/03 -0700, Stephen Carville wrote:
> >I'm having a problem getting pcre body checks to work in postfix 2.0.9.
> >
> >body_checks has the single line:
> >
> >/attachment.+name=[\w\"]+\.zip/ REJECT
>
> For postfix 2.0, attachment checks go in mime_header_checks.
> Body_checks never sees the mime headers, only the mime segment (or
> attachment) itself.

That did it! Thank you.

--
Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
------------------------------------------------------------------
Mom & Pop were just a couple of kids when they got married. He was
eighteen, she was sixteen and I was three."
 -- Billie Holiday