rspamd listen on all addresses
This commit is contained in:
parent
c99a1d57d6
commit
41f5cf4c26
|
@ -64,7 +64,6 @@ in {
|
||||||
type = "clamav";
|
type = "clamav";
|
||||||
log_clean = true;
|
log_clean = true;
|
||||||
servers = "${cfg.antivirus.host}:${toString cfg.antivirus.port}";
|
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
|
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 = {
|
workers = {
|
||||||
rspamd_proxy = {
|
rspamd_proxy = {
|
||||||
type = "rspamd_proxy";
|
type = "rspamd_proxy";
|
||||||
bindSockets = [ "localhost:${toString cfg.ports.milter}" ];
|
bindSockets = [ "*:${toString cfg.ports.milter}" ];
|
||||||
count = 4;
|
count = 4;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
milter = yes;
|
milter = yes;
|
||||||
|
@ -272,7 +271,7 @@ in {
|
||||||
controller = {
|
controller = {
|
||||||
type = "controller";
|
type = "controller";
|
||||||
count = 4;
|
count = 4;
|
||||||
bindSockets = [ "localhost:${toString cfg.ports.controller}" ];
|
bindSockets = [ "*:${toString cfg.ports.controller}" ];
|
||||||
includes = [ ];
|
includes = [ ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue