List Info

Thread: bayes_min_num_ham not taking effect




bayes_min_num_ham not taking effect
country flaguser name
South Africa
2008-03-30 10:39:52
Hi all

I want to enable auto learning only after a certain amount
of manual 
training.  Therefore, I have set the following in
/etc/mail/spamassassin/
local.cf:

bayes_min_ham_num 200
bayes_min_spam_num 200

However, even after starting with an empty bayes database,
amavisd-new 
seems to be autolearning, even before manual training of the
specified 
number of messages.  I get messages stating autolearn=spam,

autolearn=ham, etc, and the bayes databases are growing in
size.

How can I force amavisd-new to respect the spamassassin
settings in this 
case?

Chris


------------------------------------------------------------
-------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: bayes_min_num_ham not taking effect
user name
2008-03-30 15:10:21
On 3/30/08, Chris Picton wrote:
> Hi all
>
> I want to enable auto learning only after a certain
amount of manual
> training.  Therefore, I have set the following in
/etc/mail/spamassassin/
> local.cf:
>
> bayes_min_ham_num 200
> bayes_min_spam_num 200

These are the defaults for these settings.

>
> However, even after starting with an empty bayes
database, amavisd-new
> seems to be autolearning, even before manual training
of the specified
> number of messages.  I get messages stating
autolearn=spam,
> autolearn=ham, etc, and the bayes databases are growing
in size.
>
> How can I force amavisd-new to respect the spamassassin
settings in this
> case?
>
> Chris

It looks like these setting don't control what you think
they do.
These mean that
you must have learned at least these many messages before
Bayes will begin to
contribute to the score. If you want to turn autolearn off,
use:

bayes_auto_learn 0

http://spamassassin.apache.org/full/3.2
.x/doc/Mail_SpamAssassin_Conf.html

-- 
Gary V

------------------------------------------------------------
-------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )