[Mimedefang] SA-Bayes not working..
Tomasz Ostrowski
tometzky at batory.org.pl
Wed Jun 25 03:04:54 EDT 2008
On 2008-06-23 21:24, Richard J. Kieran wrote:
> I can train it and sync it and so-on, but for some reason it does not
> appear that Bayes is being used.
How did you save and restore a Bayes database?
You should save it on old server like this:
# su -s /bin/bash - defang
$ sa-learn -p /etc/mail/sa-mimedefang.cf --backup \
> /tmp/md-bayes.sa-learn
And restore it on new server like this:
# su -s /bin/bash - defang
$ sa-learn -p /etc/mail/sa-mimedefang.cf --restore \
/tmp/md-bayes.sa-learn
Check your bayes data like this:
# su -s /bin/bash - defang
$ sa-learn -p /etc/mail/sa-mimedefang.cf --dump magic
0.000 0 3 0 non-token data: bayes db version
0.000 0 388660 0 non-token data: nspam
0.000 0 43422 0 non-token data: nham
(...)
Check nspam (mine 388660) and nham (mine 43422) numbers if they are sane.
What is your bayes database configuration in sa-mimedefang.cf?
# grep bayes_ /etc/mail/sa-mimedefang.cf
Regards
Tometzky
--
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
Winnie the Pooh
More information about the MIMEDefang
mailing list