Mark Weaver,

I just realized that I gave you some flaky info...

> 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...

Even though "pcre" is in the main.cf examples, any attempt to use it gives:
  Dec 16 15:02:09 bones postfix/cleanup[7226]: \
    fatal: unsupported dictionary type: pcre
dunno if this is a bug in PostFix or what yet...

> 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

BZZZZTTTT!!  Mea Culpa!!
This is regex stuff and as such one must be careful what "*" applies to...  the
correct way to code it is:
 
   /^.*system\.ssu\.ac\.kr.*$/m REJECT

Other handy spam restrictors seem to be (from my main.cf):
smtpd_recipient_restrictions = 
    reject_unknown_client       <====<<
    permit_mynetworks
    check_relay_domains
smtpd_client_restrictions = 
    reject_unknown_hostname     <====<<
    reject_unauth_pipelining    <====<<
    hash:/etc/postfix/access_client

Sorry for any inconvenience,
Pierre

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

Reply via email to