[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 108856] Spam filter assistant : Spamassassin commands need to be
From: Andreas Gungl <a.gungl () gmx ! de>
Date: 2005-07-31 11:14:16
Message-ID: 20050731111416.5953.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=108856
a.gungl gmx de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From a.gungl gmx de 2005-07-31 13:14 -------
SVN commit 441595 by gungl:
better handling of different SpamAssassin versions which need different
params
BUG:108856
M +28 -5 kmail.antispamrc
--- branches/KDE/3.5/kdepim/kmail/kmail.antispamrc #441594:441595
@ -1,12 +1,12 @
[General]
-tools=7
+tools=8
[Spamtool #1]
Ident=spamassassin
Version=1
Priority=40
-VisibleName=SpamAssassin (Perl)
-Executable=spamassassin -V
+VisibleName=SpamAssassin 2.x (Perl)
+Executable=spamassassin -V | grep "SpamAssassin version 2"
URL=http://spamassassin.org
PipeFilterName=SpamAssassin Check
PipeCmdDetect=spamassassin -L
@ -119,8 +119,8 @
Ident=spamd
Version=1
Priority=45
-VisibleName=SpamAssassin (Daemon)
-Executable=echo "From: test" | spamc -x && spamassassin -V
+VisibleName=SpamAssassin 3.x (Daemon)
+Executable=echo "From: test" | spamc -x && spamassassin -V | grep "SpamAssassin version 3"
URL=http://spamassassin.org
PipeFilterName=SpamAssassin Service Check
PipeCmdDetect=spamc
@ -139,3 +139,26 @
ScoreValueRegexp=(?:hits|score)=([\d\.-]+)\s
ScoreThresholdRegexp=required=([\d\.-]+)\s
+[Spamtool #8]
+Ident=spamassassin
+Version=1
+Priority=40
+VisibleName=SpamAssassin 3.x (Perl)
+Executable=spamassassin -V | grep "SpamAssassin version 3"
+URL=http://spamassassin.org
+PipeFilterName=SpamAssassin Check
+PipeCmdDetect=spamassassin -L
+ExecCmdSpam=sa-learn -L --spam --no-sync
+ExecCmdHam=sa-learn -L --ham --no-sync
+DetectionHeader=X-Spam-Flag
+DetectionPattern=yes
+DetectionPattern2=
+DetectionOnly=0
+UseRegExp=0
+SupportsBayes=1
+SupportsUnsure=0
+ScoreName=Spamassassin
+ScoreHeader=X-Spam-Status
+ScoreType=Adjusted
+ScoreValueRegexp=(?:hits|score)=([\d\.-]+)\s
+ScoreThresholdRegexp=required=([\d\.-]+)\s
_______________________________________________
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