spamassassin/user_prefs
Charles Howse
chowse at charter.net
Wed Mar 24 15:03:50 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 24 March 2004 08:29 am, Markku Kolkka wrote:
> Charles Howse kirjoitti viestissään (lähetysaika keskiviikko, 24.
>
> maaliskuuta 2004 15:18):
> > The question is: is it wrong to train spamassassin by running
> > sa --learn on the same msgs ( + or - a few) over and over?
>
> sa-learn remembers the messages it has already seen and ignores
> them if you try to teach them again. So, it's not wrong, just a
> waste of time.
That's good to know. :-)
So I could set a cron job to run once a month, in the wee hours and have it
do:
#!/bin/bash
for i in Fedora inbox Kent Saved Stooges ; do
echo "Learning from" $i
sa-learn --ham --dir /home/charles/Mail/$i/*
done
sa-learn --spam --dir /home/charles/Mail/Spam/*
exit 0
The results would then be emailed to me from the cron daemon.
- --
Charles Howse
Jackson, TN
Registered Linux user # 347576 (http://counter.li.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAYaNa/S+VsB9RMKgRArYsAJ4x+r7StpguuJ5/mXjZH655+Xnv4QCeMPQR
C+lTHgGZTSqVM8aPuNueOR4=
=pzWo
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list