Autor: Matt Sealey Data: A: John Jetmore, matt CC: Exim-Users Assumpte: RE: [Exim] using bogofilter reject/drop/whatever mails
> -----Original Message-----
> From: jetmore@???
> [mailto:jetmore@wembley.cinergycom.net]On Behalf Of John Jetmore
> Sent: 04 December 2003 17:06
> To: matt@???
> Cc: Exim-Users
> Subject: Re: [Exim] using bogofilter reject/drop/whatever mails
>
>
> On Thu, 4 Dec 2003, Matt Sealey wrote:
>
> > What's the easiest way to reject mails that Bogofilter has marked
> > as Spam, either from the return code, or using X-Bogosity: yes,
> > or the number, or what? Someone must be doing this already. I
> > must admit I'm not skilled enough to know what the best way is
> > even if I could roll these kinds of configurations by hand.
>
> this may not work exactly as written, it's off the cuff, plus I have no
> idea what the bogosity header looks like, but it might give you a place
> to start:
>
> reject_spam:
> driver = redirect
> condition = ${if match{$h_X-Bogosity:}{Possible spam detected}{yes}{no}}
> data = :fail: message rejected as spam
Okay, in theory, where does that go in the Exim configuration?