[prev in list] [next in list] [prev in thread] [next in thread]
List: kdepim-users
Subject: [kdepim-users] Re: Copy To Folder: sa-learn pipe no substitute
From: Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date: 2004-01-27 23:07:53
Message-ID: 200401280007.55968 () erwin ! ingo-kloecker ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Monday 26 January 2004 18:20, Karl Hakmiller wrote:
> As I said -- you try it. I am 100% sure because I tried it a week
> ago when I first found that Kmail does not provide Copy To Folder.
> The result was that every email piped through sa-learn --ham
> --no-rebuild as specified in man sa-learn for treatment of single
> messages is blank (Kmail shows it as No Subject, Unknown Sender in
> the message panel though when it is opened the header contains
> recipient and sender though the message body itself is blank)
Okay. I've tried it. The problem is that "sa-learn --ham --no-rebuild
--single" returns "Learned from 1 messages.". Therefore KMail (I tried
1.6) replaces the message with a message with empty header and with
"Learned from 1 messages." as body. That's the expected behavior of the
pipe-through filter action. We'll most likely make KMail ignore the
output of the pipe-through filter action if it doesn't seem to be an
email message. But you don't have to wait for us to implement this
change. Instead simply use the following pipe-through command:
"sa-learn --ham --no-rebuild --single >/dev/null"
As you can see you don't really need the "Copy to Folder" filter
action. ;-) At least not for training SpamAssassin's Bayesian
classifier.
Regards,
Ingo
[Attachment #5 (application/pgp-signature)]
_______________________________________________
KDE PIM users mailing list
kdepim-users@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic