Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: ekip77 on July 29, 2004, 04:00:46 PM

Title: Help needed sa-learn problem
Post by: ekip77 on July 29, 2004, 04:00:46 PM
Hello everyone


I have a litle problem. i want to teach spamassassin some mail but i cannot understand how to do it. i have tryied running sa-learn --spam  ;Trash in Maildir folder but it wont work i even triyed sa-learn --spam --mbox Trash this looked good at firs but then i got thiss error Can't open 'Trash' dir: No such file or directory at /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/ArchiveIterator.pm line 286.

What i'm doing wrong? and how can i get this working?? In now i have too many spam mail ingoming whitout spam tag
Title: Help needed sa-learn problem
Post by: Jon_Reynolds on July 29, 2004, 10:57:41 PM
Your close, try it this way:

sa-learn --spam ';junkmail/cur' ';MissedSpam/cur'

Then to teach SA what is good mail use this:

sa-learn --spam ';good/email' <-- but put in the correct directory where your HAM is at.

Hope that helps,

Jon