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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Joe Kocsis
Päiväys:  
Vastaanottaja: Exim users list
Aihe: [exim] build a router that discard spam at spamassassin score level, help
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