[Rspamd-Users] Rspamd statistic settings: How to set learned_ids when users_enabled is true?
gabriele.nencioni at register.it
Wed Feb 16 08:14:34 UTC 2022
On 2/15/22 11:12 PM, Manuel Garbin wrote:
>> About you, have I any chance to find a function (or something similar)
>> in code about that string name generation?
> Hmmm the function that you are searching for is "rspamd_stat_cache_redis_generate_id", you can find into redis_cache.c .
> This function genereate an hash using rspamd_cryptobox_hash* function from an other class, it is an harcoded way to create hash and is uses "stat_user" key to generate it ( if is used inside bayes config ).
> I think that you can't change the name as you want.
Ok interesting, I'll take a look at it.
More information about the Users