rspamd: restrict addresses we disable checks for to localhost
By default this includes private network subnets, but those should really use authentication instead, if they want to skip checks. Closes: #326
This commit is contained in:
parent
cc5f180427
commit
1a2d7a4bf5
2 changed files with 19 additions and 8 deletions
|
@ -132,6 +132,13 @@ in
|
|||
'';
|
||||
};
|
||||
};
|
||||
overrides = {
|
||||
"options.inc" = {
|
||||
text = ''
|
||||
local_addrs = [::1/128, 127.0.0.0/8]
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
workers.rspamd_proxy = {
|
||||
type = "rspamd_proxy";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue