local_addrs from mynetworks in rspamd

nek0/mail_redux
nek0 1 year ago
parent b666d334b9
commit b1b4d8c994
  1. 3
      hosts/containers/mail/default.nix

@ -657,7 +657,8 @@ in
"options.inc" = {
enable = true;
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 {
nameserver = ["10.0.0.53:53:10"];
}

Loading…
Cancel
Save