i set it up a long time ago and i have never had any success with it. i
can post a copy of my configurations.
local.cf
required_hits 5.0
report_safe 0
required_score 5
rewrite_header Subject [SPAM]
use_bayes 1
bayes_auto_learn 1
bayes_auto_expire 1
# Store bayesian data in MySQL
bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
bayes_sql_dsn DBI:mysql:sa_bayes:localhost:3306
i remember setting up the sa-learn command somewhere and there were
definitely records appearing in the database
On 10/07/2020 11:46, Antony Stone wrote:
> On Friday 10 July 2020 at 11:02:23, Matthew Broadhead wrote:
>
>> i tried to set up bayes training before but i feel that i was unsuccessful.
> It would be helpful to know what gives you that feeling.
>
> How are you training and how are you testing?
>
>> is there a definitive guide on setting this up on postfix with amavis? if my
>> user were the one that was training it for the other users that would be
>> ideal
> In general, Bayes works best when each user trains for the ham and the spam
> that *they* receive - you can share Bayes databases between users, but it's
> less effective.
>
> Do remember also that Bayes *needs* to be fed ham as well as spam for it to be
> able to learn the difference - it's not just a question of giving it all the
> spam you receive and assuming it can work out from that what isn't spam.
>
>
> Regards,
>
>
> Antony.
>
|