This is a discussion on RE: How to create exemption for body_check within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Thu, 23 Sep 2004, Covington, Chris wrote: > > With Postfix-2.0.19,1, is it possible to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Thu, 23 Sep 2004, Covington, Chris wrote:
> > With Postfix-2.0.19,1, is it possible to create a list of > > senders exempt from body_checks? > > Not really, you should be using a content-filter for this (the text > might be base64 encoded or html-commented or something like that). If > you used amavisd-new & SpamAssassin, you could create (or add points to > the existing) a SA rule which had a lot of points for a .biz URL. > > > If not, I use regexp, and here is the culprit: > > > > /\.biz/ REJECT We do not accept email > > containing .biz URL's. Please call us to discuss. > > How about /\.biz /? You're solving the problem in the wrong way. > You probably want to include other possiblities. Something like (pcre): /\.biz\b/ Or with regexp, list out the characters, e.g.: /\.biz([[:space:][:punct:]]|$)/ Kyle |