On Thu, 16 Aug 2012, Ben Johnson wrote:
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?
Heh. I was expecting zeroes, but "no dbs present" is also a good
confirmation that the Bayes database has been reset... :)
You might need to restart amavis now, too.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
The United States has become a place where entertainers and
professional athletes are mistaken for people of importance.
-- Maureen Johnson Smith Long
-----------------------------------------------------------------------
8 days until the 1933rd anniversary of the destruction of Pompeii