From 3aa735cc2dcae1d4a03ee5f3770492c7cfa0711e Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Thu, 17 Mar 2022 11:37:01 +0100 Subject: [PATCH] ghostwheel42's suggestion --- core/admin/mailu/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/admin/mailu/models.py b/core/admin/mailu/models.py index c939ef68..436877f7 100644 --- a/core/admin/mailu/models.py +++ b/core/admin/mailu/models.py @@ -267,11 +267,11 @@ class Domain(Base): ('pop3s', 995, 10), ]) - return list([ + return [ f'_{proto}._tcp.{self.name}. 600 IN SRV {prio} 1 {port} {hostname}.' for proto, port, prio in protocols - ])+[f'autoconfig.{self.name}. 600 IN CNAME {hostname}.'] + ]+[f'autoconfig.{self.name}. 600 IN CNAME {hostname}.'] @cached_property def dns_tlsa(self):