From bb050d57fd6dd22ad64bf2674327c19d63a72b5c Mon Sep 17 00:00:00 2001 From: daragh Date: Sat, 21 Oct 2023 16:33:40 +0100 Subject: [PATCH] Feat : added dns config for k-9 mail. Related to #33 --- applications/email.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/applications/email.nix b/applications/email.nix index aca44bd..db1942d 100644 --- a/applications/email.nix +++ b/applications/email.nix @@ -120,6 +120,22 @@ in { r_type = "A"; value = cfg.host.ip; } + #DNS config for K-9 Mail + { + record = "imap"; + r_type = "CNAME"; + value = "mail"; + } + { + record = "pop3"; + r_type = "CNAME"; + value = "mail"; + } + { + record = "smtp"; + r_type = "CNAME"; + value = "mail"; + } # TXT records, all tehse are inside escaped strings to allow using "" # SPF record