You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jeff Ramsey <ra...@tubafor.com> on 2004/12/12 23:09:23 UTC

Undo what autolearn has done

When I first setup version 3.0.X, I turned on auto-learn. It let way too
many messages through. I have turned it off, and I am now using a
slightly modified version of the 'learnspam' script from the wiki.

My problem is that during the auto-learn days some messages got auto
whitelisted, and now I cannot seem to get rid of them. Is there a way
that I can 'unlearn' these messages, or just start SA's learn process
over?

Thanks,

-- 
Jeff Ramsey
MIS Administrator
Tubafor Mill, Inc.


Re: Undo what autolearn has done

Posted by Michael Parker <pa...@pobox.com>.
On Mon, Dec 13, 2004 at 09:09:24AM -0800, Jeff Ramsey wrote:
> On Mon, 2004-12-13 at 09:23, Michael Parker wrote:
> > No, Bayes and AWL are unrelated.  If you truely do not want to use
> > AWL, then you can just turn it off.  perldoc Mail::SpamAssassin::Conf
> > to find out how to do that.
> > 
> > Michael
> 
> I'd actually like to use AWL, however I am getting some spam that is not
> being tagged, and when I check out the headers, it has a negative number
> because of the AWL rule. IS there anyway that I can alter the AWL list,
> ie. sa-learn --forget on the messages that have the AWL rule flagged?
> 

sa-learn is strictly for training bayes and bayes and AWL are
unreleated.

spamassassin --help is your friend here.  There are several commands
that you can use to manipulate your AWL database.

Michael

Re: Undo what autolearn has done

Posted by Jeff Ramsey <ra...@tubafor.com>.
On Mon, 2004-12-13 at 09:23, Michael Parker wrote:
> No, Bayes and AWL are unrelated.  If you truely do not want to use
> AWL, then you can just turn it off.  perldoc Mail::SpamAssassin::Conf
> to find out how to do that.
> 
> Michael

I'd actually like to use AWL, however I am getting some spam that is not
being tagged, and when I check out the headers, it has a negative number
because of the AWL rule. IS there anyway that I can alter the AWL list,
ie. sa-learn --forget on the messages that have the AWL rule flagged?

-- 
Jeff Ramsey
MIS Administrator
Tubafor Mill, Inc.


Re: Undo what autolearn has done

Posted by Michael Parker <pa...@pobox.com>.
On Mon, Dec 13, 2004 at 08:54:28AM -0800, Jeff Ramsey wrote:
> 
> I have only been running SA 3X for a fw short weeks, I'll just use the
> clear flag. Will this also clear the auto whitelist entries as well? How
> can I be sure that nobody gets auto whitelisted again? Auto whitelist is
> not something that I care to implement here.
> 

No, Bayes and AWL are unrelated.  If you truely do not want to use
AWL, then you can just turn it off.  perldoc Mail::SpamAssassin::Conf
to find out how to do that.

Michael

Re: Undo what autolearn has done

Posted by Jeff Ramsey <ra...@tubafor.com>.
On Sun, 2004-12-12 at 16:49, Michael Parker wrote:
> Using autolearn doesn't necessarily auto whitelist messages or from
> addresses. It only causes the message to be learned as ham or spam.
> Over time a from addresses average score might be affected by this.
> 
> That said, if you still have the messages in question, you can just
> run sa-learn --forget on them and they will be removed from the bayes
> database.  If you truely wish to start over you can do so with
> sa-learn --clear.  This will remove all traces of the existing
> database.
> 
> Michael

I have only been running SA 3X for a fw short weeks, I'll just use the
clear flag. Will this also clear the auto whitelist entries as well? How
can I be sure that nobody gets auto whitelisted again? Auto whitelist is
not something that I care to implement here.

-- 
Jeff Ramsey
MIS Administrator
Tubafor Mill, Inc.


Re: Undo what autolearn has done

Posted by Michael Parker <pa...@pobox.com>.
On Sun, Dec 12, 2004 at 02:09:23PM -0800, Jeff Ramsey wrote:
> 
> My problem is that during the auto-learn days some messages got auto
> whitelisted, and now I cannot seem to get rid of them. Is there a way
> that I can 'unlearn' these messages, or just start SA's learn process
> over?
> 

Using autolearn doesn't necessarily auto whitelist messages or from
addresses. It only causes the message to be learned as ham or spam.
Over time a from addresses average score might be affected by this.

That said, if you still have the messages in question, you can just
run sa-learn --forget on them and they will be removed from the bayes
database.  If you truely wish to start over you can do so with
sa-learn --clear.  This will remove all traces of the existing
database.

Michael