rspamd: Use redis over a unix socket by default

Both rspamd and redis run on the same host by default, so a UNIX domain
socket is the cheapest way to facilitate that communication.

It also allows us to get rid of overly complicated IP adddress parsing
logic, that we can shift onto the user if they need it.
This commit is contained in:
Martin Weinelt 2025-04-13 03:54:51 +02:00
parent 7bdf5003c7
commit 745c6ee861
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 22 additions and 21 deletions

View file

@ -1,6 +1,14 @@
Release Notes
=============
NixOS 25.05
-----------
- Rspamd now connects to Redis over its Unix Domain Socket by default
(`merge request <https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/merge_requests/375` __)
- If you need to revert TCP connections, configure ``mailserver.redis.address`
to reference the value of ``config.services.redis.servers.rspamd.bind``.
NixOS 24.11
-----------