-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 26 February 2004 11:40 pm, 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
- ----------snip-------------
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 ??
I think that spamassasin is only learning from messages that it has not checked (learned from) previously. Using the above command very few of my mails are not learned from unless I haven't emptied the directory between runs My missed spam folder appears to be in maildir format (the option is greyed out). My setup is as follows. Created a folder named "assassin" created a sub folder "missedSpam" My learn spam command is sa-learn --spam --dir /home/dh0/Mail/.Assassin.directory/missedSpam/cur I don't have to cd into the directory since I'm using the full path notice the /cur directory, this may have some effect on your problems - -- dh Don't shop at ZipZoomFly.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAQXFhBwgxlylUsJARApkeAKCHkGDbkhnowqQaBer42r4BGMGZzwCgmOB3 8radDUZBszaUVrdh0IMkSnc= =p1pF -----END PGP SIGNATURE-----