Re: [SLUG] Spamassassin help.

From: Paul M Foster (paulf@quillandmouse.com)
Date: Wed Apr 14 2004 - 22:43:16 EDT


On Wed, Apr 14, 2004 at 01:22:46AM -0400, Bob Stia wrote:

> Hello Sluggers,
>
> Somewhat confused with sa-learn. I have a script to run sa-learn and it
> seems to work but not to work. Originally built a pretty good data
> base using sa-learn manually. Caught most of the spam and put it into
> a folder in KDE called "Spam" (using KDE filters) Also made a folder
> called "MissedSpam" and when something slipped through I would put it
> in there to run sa-learn on. Over the past few months when I ran the
> script sa-learn it did not learn anything. "Learned from 0 messages"
>
> Tonight I ran the sa-learn script on about 150 messages in the Missed
> Spam folder, and again, it did not learn anything. When I looked in the
> "MissedSpam" folder in Kmail all of the messages were gone but the
> count was still the same except that the headings were all "No
> Subject" (The script is designed to delete them.) Pretty hard to
> believe that sa-learn hasn't learned anything in the last few months
> and spam is still slipping through. Here is the message from sa-learn:
> -----------------------------------------------------------------------
> linux:~ # ./spamscript.sh
> please specify target type with --dir, --file, or
> --mbox: /home/bob/Mail/NotSpam/cur/*
> Learned from 0 messages.

Notwithstanding Derek's comments on running spamassassin, this appears
to be an error message. I don't know anything about sa-learn, and
haven't looked at the man page, but your script does this:

> system("$SA_LEARN --spam $user_missedspam_folder/*");

Perhaps, based on what's above you should be saying something like:

$SA_LEARN --spam --dir $user_missedspam_folder

Again, total guess, since I don't know anything about this program.

Paul

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:38:01 EDT