Re: Defining default value for sa_username_maps

2023-04-25 Thread Ain
Hi, thanks for reply! >> Amavis still tries use nonexisting user, spamassassin seems simply >> ignore bayes tests in that case. > > Are you sure? Maybe the new users are just below bayes_min_ham_num and > bayes_min_spam_num. > Yes, that override seems intended behaviour, fragment from documentati

Re: Defining default value for sa_username_maps

2023-04-25 Thread Damian
Amavis still tries use nonexisting user, spamassassin seems simply ignore bayes tests in that case. Are you sure? Maybe the new users are just below bayes_min_ham_num and bayes_min_spam_num.

Defining default value for sa_username_maps

2023-04-25 Thread Ain
Hello! I have many users with different domains, so I have my users in MariaDB database (accordingly to https://svn.apache.org/repos/asf/spamassassin/trunk/sql/README.bayes) and my sa_username_maps is defined as follows: @sa_username_maps = new_RE ( [ qr'^([^@]+@.*)'i => '${1}' ] ); That seems