Skip to content

rspamd: redis server and password fields

Add 4 fields for the redis server and password when using rspamd, the default redis server/password and bayes redis/password (which uses default if unspecified).

This allows specifying unix sockets to talk to the redis server, as well as a password. Having the second optional parameters for bayes allows using a second redis instance with a memory limit to cap the growth of bayes data without evicting non-bayes keys which would happen if using a single redis instance.