From 4d83ecb584baabbea6485559a28710eed6c692f3 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 6 Mar 2025 13:14:40 +0000 Subject: [PATCH] feat: we have to handle the old lists domains --- applications/email.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/applications/email.nix b/applications/email.nix index 519f3e0..4d0c905 100644 --- a/applications/email.nix +++ b/applications/email.nix @@ -50,6 +50,10 @@ with lib; let account = "contact"; members = ["committee"]; } + { + account = "committee"; + members = ["committee"]; + } { account = "dbadmin"; members = ["admin"]; @@ -291,6 +295,12 @@ in { # the number is the priority in teh case of multiple mailservers value = "10 mail.${cfg.domain}."; } + { + record = "@"; + r_type = "MX"; + # the number is the priority in teh case of multiple mailservers + value = "10 lists.${cfg.domain}."; + } # basic one { @@ -298,6 +308,11 @@ in { r_type = "A"; value = config.services.skynet.host.ip; } + { + record = "lists"; + r_type = "A"; + value = config.services.skynet.host.ip; + } #DNS config for K-9 Mail { record = "imap"; @@ -429,6 +444,7 @@ in { fqdn = "${cfg.sub}.${cfg.domain}"; domains = [ cfg.domain + "lists.skynet.ie" ]; enableManageSieve = true;