mirror of
https://github.com/outbackdingo/Mailu.git
synced 2026-01-27 10:19:35 +00:00
simplify function Alternative.dns_dmarc_report_needed
Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
This commit is contained in:
@@ -385,6 +385,7 @@ class Alternative(Base):
|
||||
|
||||
@cached_property
|
||||
def dns_dmarc_report_needed(self):
|
||||
return self.name != app.config['DOMAIN']
|
||||
""" return true if DMARC report record is needed """
|
||||
domain = app.config['DOMAIN']
|
||||
if self.name != domain:
|
||||
|
||||
Reference in New Issue
Block a user