From 324b723efabc3cafccde627e87cca4d6ea935f52 Mon Sep 17 00:00:00 2001 From: su-ex Date: Fri, 26 Jan 2024 12:59:44 +0100 Subject: [PATCH] Add trailing semicolon for DMARC authorisation record This seems to be necessary: https://stackoverflow.com/a/72463456 --- core/admin/mailu/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/models.py b/core/admin/mailu/models.py index 45ec457c..824ee971 100644 --- a/core/admin/mailu/models.py +++ b/core/admin/mailu/models.py @@ -250,7 +250,7 @@ class Domain(Base): """ return DMARC report record for mailu server """ if self.dkim_key: domain = app.config['DOMAIN'] - return f'{self.name}._report._dmarc.{domain}. 600 IN TXT "v=DMARC1"' + return f'{self.name}._report._dmarc.{domain}. 600 IN TXT "v=DMARC1;"' @cached_property def dns_autoconfig(self):