On Sun, 16 Dec 2001 15:10:50 -0500
Pierre Fortin <[EMAIL PROTECTED]> studiouisly spake these words to ponder:

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

Hi Pierre,

no worries. i've been using regex filtering and it's working quite nicely. and your 
examples and information has been extremely helpful.
-- 
daRcmaTTeR

Registered Linux User 182496
Mandrake 8.1
---------------------------------------------------------------------
  5:05pm  up  8:46,  2 users,  load average: 0.39, 0.48, 0.50

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

Reply via email to