Mark Weaver wrote:
> 
> 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'

Have you got this in your main.cf?:
header_checks = regexp:/etc/postfix/header_checks
                ^^^^^^
If you are using "pcre"; I haven't tried that variation...

The other thing I do is to escape all special characters, so the above line
would read:

  /^Received: from system\.ssu\.ac\.kr/ REJECT

AFAIK, you can also code it:

  /^*system\.ssu\.ac\.kr*$/m REJECT

to be expecially brutal...  :^)

Then, when I make any changes to my postfix configs, I run this [brute-force]
script (not required for header_checks; but it's now a habit) to update the *.db
files:

   #!/bin/sh
   # ONLY do "hash" files
   postmap /etc/postfix/access
   postmap /etc/postfix/virtual
   postmap /etc/postfix/access_client
   newaliases
   postfix reload

HTH,
Pierre

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

Reply via email to