Mikel wrote:

> System is running amavisd-new 2.4.3 with spamassassin 3.1.7 (CentOS 4.4).

> Running spamassassin manually as either root or the amavis user both 
> result in a BAYES score being applied.  But not a single message that 
> has run through amavis contains a BAYES score, neither messages passed 
> as clean, or passed as spammy.

> The bayesian system is obviously working as mail going through amavis to 
> spamassassin is doing auto-learning.  Other spamassassin related scores 
> are being applied (razor, pyzor, uribl, etc).

> The only spamassassin options that I seem to have in my amavisd.conf 
> file are:

> $sa_tag_level_deflt  = 2.0;
> $sa_tag2_level_deflt = 6.31;
> $sa_kill_level_deflt = 15;
> $sa_dsn_cutoff_level = 15;
> $sa_mail_body_size_limit = 400*1024;
> $sa_local_tests_only = 0;
> $sa_spam_report_header = 1;

> Is there perhaps some option that has changed in recent versions of 
> amavis that I am missing?

> For the sake of argument, I noticed that my bayesian database was up to 
> the millions of records.  I decided to back this up, and start fresh 
> (move the files and run a sa-learn --sync).  Let it run for a few days 
> and am up to the following, which is plenty for scoring to work:

> sa-learn --dump magic
> 0.000          0          3          0  non-token data: bayes db version
> 0.000          0       8003          0  non-token data: nspam
> 0.000          0      27668          0  non-token data: nham
> 0.000          0     963157          0  non-token data: ntokens
> 0.000          0 1076446395          0  non-token data: oldest atime
> 0.000          0 1166473052          0  non-token data: newest atime
> 0.000          0 1166469308          0  non-token data: last journal 
> sync atime
> 0.000          0 1166454780          0  non-token data: last expiry atime
> 0.000          0      43200          0  non-token data: last expire 
> atime delta
> 0.000          0     982859          0  non-token data: last expire 
> reduction count

> Any thoughts?  This is quite frustrating as it seems like everything 
> should be working.

Since amavisd-new does not run as root, you need to run this as
the amavis user in order to see amavis' data.

su amavis -c 'sa-learn --dump magic'
or
sudo -H -u amavis sa-learn --dump magic

Gary V


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to