Re: [exim] build a router that discard spam at spamassassin …

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Perkel
Fecha:  
A: Joe Kocsis
Cc: Exim users list
Asunto: Re: [exim] build a router that discard spam at spamassassin score level, help


Joe Kocsis wrote:

>    Trying to write a router that will discard spam over a score of 10.
>    Since SpamAssassin is told to write spam header at a level of 5
>    Ive also introduced a custom header that marks just the score in my
>local.cf

>
>add_header spam HiScore _SCORE_
>
>    then in my exim config file
>I add this route after the spamcheck route

>
>dropspam:
>        driver = manualroute
>        condition = "${if >{$h_X-Spam-HiScore:}{10} {1}{0}}"
>        route_list = "* localhost byname"
>        transport = devnull
>        verify = false

>
>but it appears to do nothing..
>
>I do get the HiScore Header in my spam emails.
>
>Thanks.
>
>JOe
>
>
>
>

It's easier to cout stars:

if "$h_X-Spam-Level:" contains "***************"

--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com