<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 2010-05-14 01:31, Christian Tardif wrote:
<blockquote cite="mid:4BECE01F.9040008@servinfo.ca" type="cite">
  <blockquote type="cite">
    <pre wrap=""> On 2010-05-12 21:49, Christian Tardif wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">The sieve filter is then set to:

if header :value "ge" :comparator "i;ascii-numeric" "X-Spam-Score" 
["9.2"] {
  fileinfo "INBOX/Spam";
  stop;
}
      </pre>
    </blockquote>
    <pre wrap="">
Ouch! HUGE bug in this sieve script...  it seems that the 
ascii-numeric comparison does not handle negative numbers....  Since 
the installation of this script, anything which is lower than -6.3 
(6.3 is my target) is rejected as SPAM, since its conterpart, 6.3, is 
higher or equal to my target....  is this the Kolab-cyrus 
implementation of sieve which is bad, or any cyrus-imap implementation? 
    </pre>
  </blockquote>
  <pre wrap="">
I think I found out. This is a Horde problem (found it in 
bugs.horde.org) (well, to be prefectly honnest, it's a sieve bug, which 
simply can't compare with negative numbers...  but the good thing is 
that there's a fix.

I installed the patch on my server, and will let night mails come in to 
see how things are going on.  Will let you know for sure.
  </pre>
</blockquote>
<br>
The patch is working perfectly! Now, only mails with a X-Spam-Score
higher than the determined target will pass the Spam filter.<br>
<br>
I'm not a developer, and I kept the original files. So how can I make
patch files, and propose them to the issue tracker?<br>
<br>
<div class="moz-signature">-- <br>
<style type="text/css" media="screen">
        #container {
                position: relative;
        }
        #top {
                position: relative;
        }
        #logo {
                position: relative;
                float: left;
        }
        #infos {
                position: relative;
                float: left;
        }
        #bottom {
                position: relative;
                width: 100%;
                clear: both;
        }
</style>
<div id="top"><br>
Christian Tardif<br>
</div>
</div>
</body>
</html>