On Sun, Aug 10, 2003 at 05:13:00PM +0300, Jim Knuth wrote:

> Wow. Thank you so much. Now working.  :-)
> New question. How can I edit the databases?

To remove something from AWL:

spamassassin [EMAIL PROTECTED]

Adding to AWL is done automaticly... or should be, I guess.
I think you can add to it with spamassassin --something
(check the manpage for the correct option to give to spamassassin)
but I can't think of a reason for doing that other than testing.

Bayes db can be edited with sa-learn; what --ham, --spam and
--forget do should be pretty obvious... e.g.

sa-learn --ham --no-rebuild --file blah.txt

is good thing to do when you get a good mail that SA mistakenly
flags as spam, or if you just want to insert a normal mail into
the bayes db so SA would know what normal mail (ham mail) is like.
Then again

sa-learn --spam --no-rebuild --file wheeee.txt

should be done when spam gets through and you want to make certain
next time at least the bayesian classifier will know better
that mails with similar tokens are spam (doesn't mean they will
be tagged as spam, but the chances of that happening will be
better).

You should always have complete headers in the mails you make
sa-learn learn from, so just copy&pasting the body from Outlook's
window isn't as effective as pasting the headers from View ->
Options first, and then body (and body source in case of html
mail.

You can run sa-learn --rebuild --force-expire from cron so the
database doesn't blow out of proportion; that will remove old,
unused tokens, update token timestamps from the journal etc...
check the manpage.


-- 
(Mr.) Hannu Liljemark  |  Appelsiini Finland Oy  |  http://appelsiini.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to