On 8/16/2012 11:38 AM, John Hardin wrote: > On Thu, 16 Aug 2012, Ben Johnson wrote: > >> So, after disabling auto-learn (for now) and executing "sa-learn >> --clear", and restarting Amavis, I'm still seeing this: >> >> No, score=0.593 tag=-999 tag2=3 kill=13 tests=[BAYES_00=-1.9, >> HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_PASS=-0.001, >> URIBL_DBL_SPAM=1.7] autolearn=disabled >> >> Why BAYES_00 still? Am I running the wrong command to clear the database? > > That's correct. Be sure that you're running it as the same user that > amavis+SA is running as, otherwise you're clearing the wrong files. > > You might want to run "sa-learn --dump magic" afterwards to verify the > database is cleared. >
John, You were exactly right; I forgot to execute "sa-learn --clear" as the "amavis" user. What is the expected output of "sa-learn --dump magic" once the database has been cleared successfully? # su amavis -c 'sa-learn --dump magic' ERROR: Bayes dump returned an error, please re-run with -D for more information # su amavis -c 'sa-learn -D --dump magic' [...] dbg: bayes: no dbs present, cannot tie DB R/O: /var/lib/amavis/.spamassassin/bayes_toks [...] Is this to be expected? Or did I muck-up the works? Thanks again, -Ben