diff --git a/applications/email.nix b/applications/email.nix index aca44bd..5cf2aaf 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