1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Add trailing semicolon for DMARC authorisation record

This seems to be necessary: https://stackoverflow.com/a/72463456
This commit is contained in:
su-ex
2024-01-26 12:59:44 +01:00
committed by GitHub
parent e0c5dc5fe5
commit 324b723efa

View File

@@ -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):