On 10.08.17 20:15, Scott wrote:
About the only difference in my old, functioning box and this new "clean"
install was the location of the bayes files.

Old box:
/var/spool/amavisd/.spamassassin/
New box:
/etc/mail/bayes

Do did you change bayes path in first place?

amavis is the only one who processes the database, there's no need to change
it and play with permissions (which might be the reason why it does not
work).

you can still train as root:

sa-learn --dbpath /var/spool/amavis/.spamassassin/  ...

Finally to the path setting:

I tried setting the default path, and changing the path filename suffix of
bayes to mybayes for curiosity...
bayes_path /var/spool/amavisd/.spamassassin/mybayes

Upon sending a test message, SA promptly auto-learned as ham and created the
2 new files starting with "mybayes" instead of bayes.

So changing the filename didn't hurt autolearn

don't set the path, that way it should work OOTB.


--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The only substitute for good manners is fast reflexes.

Reply via email to