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

Página Inicial
Delete this message
Reply to this message
Autor: Joe Kocsis
Data:  
Para: Exim users list
Assunto: [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