misc_nixos-mailserver/mail-server
Symphorien Gibol 9e772d166c rspamd: configure redis backend
The sqlite backed is deprecated, and the redis backend is the default
since rspamd 2.0.

Not having redis started results in such errors:
rspamd_redis_init: cannot init redis backend for BAYES_SPAM

To migrate the sqlite database, run

rspamadm statconvert --spam-db /var/lib/rspamd/bayes.spam.sqlite --ham-db /var/lib/rspamd/bayes.ham.sqlite -h 127.0.0.1:6379 --symbol-ham BAYES_HAM --symbol-spam BAYES_SPAM

The current module implements the recommended configuration that this
utility prints out.
2020-05-05 19:07:46 +00:00
..
dovecot Remove use of the deprecated string type 2019-09-22 13:32:37 +00:00
borgbackup.nix fix conditions for enabling services 2018-05-22 23:18:55 +02:00
clamav.nix Merge pull request #128 from Infinisil/fix-enable-conditions 2018-06-09 15:18:46 +02:00
common.nix Fix password hash file generation behavior 2020-03-06 17:27:47 +00:00
dovecot.nix Fix password hash file generation behavior 2020-03-06 17:27:47 +00:00
environment.nix Move from rmilter to rspamd #25 2018-06-29 21:36:34 +09:30
kresd.nix fix conditions for enabling services 2018-05-22 23:18:55 +02:00
monit.nix fix conditions for enabling services 2018-05-22 23:18:55 +02:00
networking.nix update copywright 2018-01-29 10:34:27 +01:00
nginx.nix fix conditions for enabling services 2018-05-22 23:18:55 +02:00
opendkim.nix add dkimKeyBits configuration 2019-07-09 21:59:28 -06:00
post-upgrade-check.nix fix conditions for enabling services 2018-05-22 23:18:55 +02:00
postfix.nix Fix password hash file generation behavior 2020-03-06 17:27:47 +00:00
rsnapshot.nix fix conditions for enabling services 2018-05-22 23:18:55 +02:00
rspamd.nix rspamd: configure redis backend 2020-05-05 19:07:46 +00:00
systemd.nix remove Diffie Hillman parameter creation as it is handled by the upstream dovecot2 module as of 18.09 2018-10-30 17:56:25 +01:00
users.nix Fix password hash file generation behavior 2020-03-06 17:27:47 +00:00