rspamd listen on all addresses

This commit is contained in:
niten 2023-09-28 12:05:59 -07:00
parent c99a1d57d6
commit 41f5cf4c26
1 changed files with 2 additions and 3 deletions

View File

@ -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 = [ ];
};
};