ot, spamassassin question
Gregory Nowak
greg at romuald.net.eu.org
Wed Jan 20 20:42:26 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, for the record, looks like I managed to merge the 2 sets of
data. I ran sa-learn --backup on both sets. I then adjusted the spam,
and not spam number to be the total from both sets, and pasted the
rest of one of the files to the end of the other. I than ran sa-learn
- --restore with the updated file to import it into my mom's directory,
and it looks to have gone fine. Sa-learn --dump is now reporting the
correct numbers for spam, ham, and seen tokens on her set of data.
Greg
On Wed, Jan 20, 2010 at 05:33:00PM -0700, Gregory Nowak wrote:
> Ok, I think I figured it out, thanks John for reminding me of
> sa-learn's --dump flag. It's a combination of 2 problems. The first
> problem is that yes, I really am a moron. When I was running the
> spam/ham learning script out of /etc/cron.daily, I was searching
> through my mom's saved ham, and spam. However, I forgot to add the
> --dbpath option to sa-learn when calling it in the script. The result
> is that I happen to have a /root/.spamassassin directory now, with the
> files bayes_seen bayes_toks in it. I've had a look at the sa-learn
> man page, but don't see a way to merge that data with the data in my
> mom's .spamassassin directory, that was collected through
> autolearning. I can backup the data from /root/.spamassassin/*, but I
> don't see a way to append it to the existing data in my mom's
> directory. If someone knows of a way to do that, without destroying
> the data already there, please let me know.
>
> The second problem is that my mom's database contains less than 200
> messages of either ham, or spam. When I said she's had more than a
> couple thousand messages come through, I really did think that. So,
> I'm either wrong on that figure, and that many didn't come in, or not
> enough of them were autolearned from. If I were to merge somehow the 2
> sets of data, she still wouldn't have 200 of either one, but she'd be
> a lot closer there as far as ham is concerned.
>
> BTW John, thanks for that small perl script. Yes, the bayse plugin is
> installed, or at least I assume it is, since I just got the shell
> prompt back after running it. Thanks a lot again John for your help in
> troubleshooting this, I really appreciate it.
>
> Greg
>
>
- --
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
- --
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAktXsQIACgkQ7s9z/XlyUyBMLACeMbd7LBnBGDDws6cANYSZuvb5
7D8AnjLGsjVcbCmzc+H7IUlkJbhyHAxu
=WRv6
-----END PGP SIGNATURE-----
More information about the Speakup
mailing list