From 6a6dba816ffdbe9d76ae6e121b67dc3ab34156d0 Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 14 Oct 2023 23:53:20 -0700 Subject: [PATCH] Need to be more explicit... --- mail-server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server.nix b/mail-server.nix index 600370a..ee90482 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -307,7 +307,7 @@ in { local-domains = cfg.extra-domains; hostname = cfg.smtp.hostname; trusted-networks = let - isIpv6 = net: !isNull (builtins.match ":" net); + isIpv6 = net: !isNull (builtins.match ".+:.+" net); addIpv6Escape = net: let components = builtins.split "/" net; in "[${elemAt components 0}]/${elemAt components 1}";