From 41f5cf4c2656af2102eb6c05ab6d80a18c976d2e Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 28 Sep 2023 12:05:59 -0700 Subject: [PATCH] rspamd listen on all addresses --- rspamd.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rspamd.nix b/rspamd.nix index 21c2b7f..f66c552 100644 --- a/rspamd.nix +++ b/rspamd.nix @@ -64,7 +64,6 @@ in { type = "clamav"; log_clean = true; servers = "${cfg.antivirus.host}:${toString cfg.antivirus.port}"; - password = "${cfg.redis.password}"; scan_mime_parts = false; # scan mail as a whole unit, not parts. seems to be needed to work at all } ''; @@ -256,7 +255,7 @@ in { workers = { rspamd_proxy = { type = "rspamd_proxy"; - bindSockets = [ "localhost:${toString cfg.ports.milter}" ]; + bindSockets = [ "*:${toString cfg.ports.milter}" ]; count = 4; extraConfig = '' milter = yes; @@ -272,7 +271,7 @@ in { controller = { type = "controller"; count = 4; - bindSockets = [ "localhost:${toString cfg.ports.controller}" ]; + bindSockets = [ "*:${toString cfg.ports.controller}" ]; includes = [ ]; }; };