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 - [EMAIL PROTECTED]

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


--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to