On Fri, 2004-02-27 at 00:40, Bob S. wrote:
On Wednesday 25 February 2004 01:15 am, John Andersen wrote:
On Tuesday 24 February 2004 21:07, Bob S. wrote:
Originally set up spamassassin and had it learn from my mailboxes in Kmail. worked fine. I set up a special spam mailbox with a sub-mailbox named MissedSpam in which I placed spam that was slipping through. Now I want sa-learn to check on that mailbox and learn from it.
What I do is, cd into: '/home/bob/Mail' and then do a: "# sa-learn --spam --mbox -f /spam/MissedSpam"
Is this special mailbox a mbox format or is it maildir format? I think KDE defaults to maildir, in which case you have to have a sa-learn script that supports that format, such as this one ...............<snipped but saved>................
Thanks John, Jon, & Jon for replying. It is appreciated.
John, don't really know what Kmail format is. If I check on the properties of that mailbox the format is greyed out, but looking carefully it looks like mbox. Anyway, I know nothing about scripts, where to put them, or how to execute them. Wish I did :-( Maybe someday I will. I am trying.
Jon & Jon Both of you sent me basically the same thing with a slightly different approach, and I said "A Ha !" that is the problem. I understood what you were telling me. Unfortunately, it did not work by using either of the suggestions. Get the same old " "No such file or directory at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdLearn.pm line 120."
So then I created a regular (non-mail) directory and moved all of the MissedSpam messages into it and did an sa-learn on it. Told me it learned from 8 of the 50+ messages I put in there. Don't know why it learned from only 8 out of 50 ?? but I guess that is another story.
Anyway, can't keep doing that because I would spend forever moving messages around so sa-learn would work. If any of you have more suggestions or guidance it would really be appreciated.
Thanks again, Bob.S
PS John, If you could point me at some way of learning how to use scripts it would also be really appreciated.
A quick suggestion based on how I use sa-learn with Evolution mbox. I found that I needed to absolutely specify the missed spam folder mbox. sa-learn --spam --mbox /home/mylocation/MissedSpam/mbox Without the mbox at the end of the directory location, sa-learn would not work. HTH -- Ralph Sanford - If your government does not trust you, rsanford@telusplanet.net - should you trust your government? DH/DSS Key - 0x7A1BEA01