local_addrs from mynetworks in rspamd

This commit is contained in:
Nek0 - 2021-10-16 18:17:09 +02:00
parent b666d334b9
commit b1b4d8c994

View File

@ -657,7 +657,8 @@ in
"options.inc" = { "options.inc" = {
enable = true; enable = true;
text = '' text = ''
local_addrs = "127.0.0.0/8, ::1, 10.0.0.0/8, 2a01:4f8:222:2b41::/64"; #local_addrs = "127.0.0.0/8, ::1, 10.0.0.0/8, 2a01:4f8:222:2b41::/64";
local_addrs = ${builtins foldl (acc: a: acc + a + " ") "" mynetworks}
dns { dns {
nameserver = ["10.0.0.53:53:10"]; nameserver = ["10.0.0.53:53:10"];
} }