[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 100456] choosing folder for unsure spam isn't possible
From:       Andreas Gungl <andreas.gungl () osp-dd ! de>
Date:       2005-03-01 12:49:11
Message-ID: 20050301124911.17756.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=100456         




------- Additional Comments From andreas.gungl osp-dd de  2005-03-01 13:49 -------
Am Dienstag, 1. März 2005 11:48 schrieb Xukasz Fibinger:
> Didn't it work properly in betas? I'm not that familiar with bogofilter,

No, there has been no change in the handling for Bogofilter for a long time. 
SpamBayes was the tool because of which we introduced the unsure handling. 
And it has been added only for that tool so far.

> but I guess -o parameter is used for setting cut-off parameter. Filter
> actions would just file the messages with, let's say, 0.40-0.90 spamicity
> statistic to unsure or whatever folder.

Sounds reasonable. Here is a patch for kmail.antispamrc which should give 
you the expected behavior:

--- kmail.antispamrc.orig       2005-03-01 13:36:49.402527962 +0100
+++ kmail.antispamrc    2005-03-01 13:37:54.997238537 +0100
 @ -31,16 +31,16  @
 Executable=bogofilter -V
 URL=http://bogofilter.sourceforge.net
 PipeFilterName=Bogofilter Check
-PipeCmdDetect=bogofilter -p -e -u
+PipeCmdDetect=bogofilter -p -e -u -o 0.90,0.40
 ExecCmdSpam=bogofilter -N -s
 ExecCmdHam=bogofilter -S -n
 DetectionHeader=X-Bogosity
 DetectionPattern=(yes)|(spam\b)
-DetectionPattern2=
+DetectionPattern2=unsure
 DetectionOnly=0
 UseRegExp=1
 SupportsBayes=1
-SupportsUnsure=0
+SupportsUnsure=1
 ScoreName=Bogofilter
 ScoreHeader=X-Bogosity
 ScoreType=Decimal

Please note that the support of different versions for a tool might be a 
difficult task. See the DetectionPattern above, it makes sure that older 
and newer Bogofilter versions work. I'm not sure about the options 
mentioned in the URL you've provided.

So it would be really cool if somebody could provide a statement telling 
this and that is needed to make KMail work fine with Bogofilter and who 
would take care for regressions due to version changes.
OTOH I've planned to change the spam tool detection system used in KMail in 
the next release, so that KMail has more flexibility to prepare the filters 
depending on the version of the found tools.

Regards,
Andreas
_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic