On Thu, 13 Dec 2001 05:34, Mark Weaver wrote:
> On Wed, 12 Dec 2001 12:43:59 -0500
> > > I'm currently experiementing with header filtering with postfix and I
> > > was wondering about something. the regex for doing this goes roughly
> > > something like this:
> > >
> > >         "/^HEADER_NAME: stuff you don't want/" REJECT
>
> Pierre,
>
> thank you for the response and the info. below is an example of one of the
> header_check rules in my header_check postfix file. below that is what
> posfix is writing in /var/log/syslog. what is it telling me?
>
>
> /^Received: from system.ssu.ac.kr/ REJECT
>
>
> Dec 12 13:29:51 mdw1982 postfix/cleanup[17410]: warning:
> /etc/postfix/hdr_chk_spamcontrol, line 93: unknown regexp option 'R' Dec 12
> 13:29:51 mdw1982 postfix/cleanup[17410]: warning:
> /etc/postfix/hdr_chk_spamcontrol, line 93: unknown regexp option 'E' Dec 12
> 13:29:51 mdw1982 postfix/cleanup[17410]: warning:
> /etc/postfix/hdr_chk_spamcontrol, line 93: unknown regexp option 'J' Dec 12
> 13:29:51 mdw1982 postfix/cleanup[17410]: warning:
> /etc/postfix/hdr_chk_spamcontrol, line 93: unknown regexp option 'E' Dec 12
> 13:29:51 mdw1982 postfix/cleanup[17410]: warning:
> /etc/postfix/hdr_chk_spamcontrol, line 93: unknown regexp option 'C' Dec 12
> 13:29:51 mdw1982 postfix/cleanup[17410]: warning:
> /etc/postfix/hdr_chk_spamcontrol, line 93: unknown regexp option 'T'

Just based on what you've posted above as an example, shouldn't the regexp be 
enclosed in ""?  It seems to be assuming that REJECT is part of the regexp.

t

-- 
PGP key : http://n12turbo.com/tarragon/public.key

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to