On 08/21/2012 11:51 PM, Ben Johnson wrote:
On 8/21/2012 5:19 PM, John Hardin wrote:
On Tue, 21 Aug 2012, Ben Johnson wrote:
Aug 21 13:08:33.729 [23714] dbg: bayes: tie-ing to DB file R/O
/var/lib/amavis/.spamassassin/bayes_toks
---8<----------
# sa-learn --username=amavis --dump magic
Run that with --debug and verify that the filenames match.
Sure enough, they don't match:
---8<----------
[...]
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks
dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen
if you add bayes_path in local.cf it "should" find the right path, no
matter what user you run it as. (works for me)