Hi people,
I have some Difficulty with rspamd with redis, some could try help-me ?
I have one machine1 master and one machine 2 slave .
For example, if i'm using redis, i believe this score message spam, should be equals in two machines.
In machine1 message 222 = score 15.79 , the same message 222 in machine2 score = 21.30
I try read more about redis, but link below is broken :
https://rspamd.com/doc/statistic.htmlMy archive :
/etc/rspamd/statistic.conf
classifier "bayes" {
tokenizer {
name = "osb";
}
name = "bayes";
min_tokens = 11;
min_learns = 200;
backend = "redis";
servers = "IP_SERVER_MASTER:6379";
write_servers = "IP_SERVER_MASTER:6379"; # If needed another servers for learning
read_servers = "IP_SERVER_MASTER:6379";
statfile {
symbol = "BAYES_SPAM";
}
statfile {
symbol = "BAYES_HAM";
}
per_user = true;
}
The redis work's fine, for example i running the command in machine2(slave) and works without problems : redis-cli -h IP_server_master -p 6379
Someone could tell me why I'm having this difference in scores on both machines although both using the redis?
Thanks a lot
Marcelo