On August 9, 2004 03:01 pm, SME Server Admin wrote: > Hiya > > Right. i've had Spam Assassin running for a few weeks now, and have built > up about 300 or so messages in my Spam/missed spam directory. The actually > directory is: > > Local Folders / Spam / MissedSpam > > Now, I've been into shell and done as it asked, ie type in the following > string. The first one was without a dot before Mail and the second was with > it in. > > It's not working. This is in Kontact by the way. Can anyone help? > > TIA > > Elwyn > > > [EMAIL PROTECTED] elwyn]$ sa-learn --mbox > --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/* > > Learned from 0 message(s) (0 message(s) examined). > > [EMAIL PROTECTED] elwyn]$ sa-learn --mbox > --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/* > > Learned from 0 message(s) (0 message(s) examined). > > [EMAIL PROTECTED] elwyn]$ Hi everyone.
All the answers here didn't help me, I don't know about Elwyn. No matter WHAT kind of mailbox I have my spam messages placed in sa-learn refuses to learn. My first experience was with the Kontact default of maildir boxes and sa-learn couldn't even find them. Off to the SA site I go only to discover that SA hasn't supported maildir boxes for quite a long time. Not a good start. Next up was the thought that a competant mail client should have no problem converting mailboxes. Again, nope. So..set up a new directory structure for my spam to be sent to and make sure it's mbox.. Copy the messages into it then delete everything in the old one. New structure is a directory called spam1 with subdirectories called called filteredspam, missedspan and notspam. Now I try to teach spamassassin on what it missed (over 700 messages): sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/* bayes expire_old_tokens: lock: 24884 cannot create tmp lockfile /home/john/.spamassassin/bayes.lock.d207-6-227-249.bchsia.telus.net.24884 for /home/john/.spamassassin/bayes.lock: Permission denied Learned from 0 message(s) (0 message(s) examined). Okay..this isn't good either. There seems to be a lock file there somewhere. For fun I try as root. sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/* Learned from 0 message(s) (0 message(s) examined). I'll chase down the lock file and try again. But there is one thing that does bother me a lot. And that's that Konq shows two of the files related to as plain text (filteredspam and nonspam). So I'm not sure they'll work. Help please. In simple words would be nice. :-) ttfn John -- *********************************************************** Composed on a 100% Microsoft Free Computer Guaranteed Virus Free Mandrake Linux 10.0 OE Registered Linux User 362316 ***********************************************************
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
