Re: [Exim] All-Spam filter

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ron McKeating
Dátum:  
Címzett: Exim-Users (E-mail)
Tárgy: Re: [Exim] All-Spam filter
No response on this yesterday so would ask if anybody is doing it a
different way. We really have to find a way of delivering email with a
high spam score to users who are in our list of deliver all email, while
not delivering to other recipients of the same message who are not in
the deliver all my email list.

Cheers

Ron
On Mon, 2004-02-09 at 14:06, Ron McKeating wrote:
> Hi all, we are looking at ways of allowing some of our users who are
> doing particular bits of research to get all their email regardless of
> spam score. However we do not want everybody else in the envelope header
> to get it too. So far we have put a list of users into a database.
>
> In the acl-check-rcpt (exim 4.3 by the way) on the mail router we have
>
> warn message=X-No-Spam-Check:$local_part
>         condition= ${lookup mysql{select mailname from allspam where
> mailname = '$local_part'}{1}{0}}

>
> This puts in a header for each person who is in the envelope to and has
> an entry in the allspam database. This works fine
>
> Now on the mail server (different machine) we tried using this router
>
> local_withspam:
> condition=${if match {${local_part}}{$h_X-No-Spam-Check:}{no}{yes}}
> driver = accept
> check_local_user
> transport = local_delivery
> more=false
>
> Thinking that it would only deliver for a user if there was a
> No-spam-check header. Well it failed and still delivers for all users in
> the envelope header, it does use this router though as we checked in the
> logs, so it is finding a match.
>
> Would appreciate any thoughts on how to deliver to some of the
> recipients but not others.
>
> Cheers
>
> Ron
>
> --
> Ron McKeating
> Senior IT Services Specialist
> Internet Services and Software Solutions
> Loughborough University
> 01509 222329
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##

--
Ron McKeating
Senior IT Services Specialist
Internet Services and Software Solutions
Loughborough University
01509 222329