From 39ed923a4eafcafa3120d4e398a70501d8da6299 Mon Sep 17 00:00:00 2001 From: Evan Cassidy Date: Mon, 24 Jul 2023 15:09:30 +0000 Subject: [PATCH] added both just in case --- applications/email.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/applications/email.nix b/applications/email.nix index 4018ec6..c0fe088 100644 --- a/applications/email.nix +++ b/applications/email.nix @@ -118,11 +118,16 @@ # https://serverfault.com/questions/935192/how-to-setup-auto-configure-email-for-android-mail-app-on-your-server/1018406#1018406 # response should be: # _imap._tcp SRV 0 1 143 imap.example.com. - {record="_imaps._tcp"; r_type="SRV"; value="0 1 993 ${cfg.sub}.${cfg.domain}";} - {record="_imaps._tcp"; r_type="SRV"; value="10 1 143 ${cfg.sub}.${cfg.domain}";} - {record="_pop3s._tcp"; r_type="SRV"; value="20 1 995 ${cfg.sub}.${cfg.domain}";} - {record="_submissions._tcp" ; r_type="SRV"; value="0 1 465 ${cfg.sub}.${cfg.domain}";} - {record="_submission._tcp" ; r_type="SRV"; value="10 1 587 ${cfg.sub}.${cfg.domain}";} + {record="_imaps._tcp.${cfg.domain}"; r_type="SRV"; value="0 1 993 ${cfg.sub}.${cfg.domain}";} + {record="_imaps._tcp.${cfg.domain}"; r_type="SRV"; value="10 1 143 ${cfg.sub}.${cfg.domain}";} + {record="_pop3s._tcp.${cfg.domain}"; r_type="SRV"; value="20 1 995 ${cfg.sub}.${cfg.domain}";} + {record="_submissions._tcp.${cfg.domain}" ; r_type="SRV"; value="0 1 465 ${cfg.sub}.${cfg.domain}";} + {record="_submission._tcp.${cfg.domain}" ; r_type="SRV"; value="10 1 587 ${cfg.sub}.${cfg.domain}";} + {record="_imaps._tcp"; r_type="SRV"; value="0 1 993 ${cfg.sub}.${cfg.domain}";} + {record="_imaps._tcp"; r_type="SRV"; value="10 1 143 ${cfg.sub}.${cfg.domain}";} + {record="_pop3s._tcp"; r_type="SRV"; value="20 1 995 ${cfg.sub}.${cfg.domain}";} + {record="_submissions._tcp" ; r_type="SRV"; value="0 1 465 ${cfg.sub}.${cfg.domain}";} + {record="_submission._tcp" ; r_type="SRV"; value="10 1 587 ${cfg.sub}.${cfg.domain}";} ];