On 6/4/2018 11:46 AM, Matt Reeve wrote:
> I haven't got this working correctly yet, in fact I'm having a more fundamental problem even before looking at the replication side of things. Even when I point both servers to use the same redis cache on one of my servers, they appear to continue to act completely independently.
Do they share common greylisting, ip_score, ratelimit, e.t.c. ?
I think this is because they are not sharing the same history entries:
>
Rspamd doesn't use history for mail processing. Consider it like a log.
> redis-cli keys "*"
> 1) "ip_score"
> 2) "rrz48q8ms3jw94in4zsmq3"
> 3) "rs_historylondon_zst"
> 4) "rrgx4zizhgtz37oym11iwe"
> 5) "rgm56swzmshrokrpmbdmobu"
> 6) "rs_history"
> 7) "rro5ygewx3sfxeggt18kbp"
> 8) "rgb1dy8i4r7mf9pg898y9gc"
> 9) "rs_historyxu4_zst"
>
> One server's hostname is "xu4" and the other is "london". It looks like they are maintaining separate histories in lines 3 and 9. Is there a way to make both servers use the same history?
>
No, but if you need to view aggregated history and throughput statistics from both of your servers in WebUI, you can configure cluster:
https://rspamd.com/doc/configuration/options.html#neighbours-list .