1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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