dmarc-reports: report mail message id with domain

This commit is contained in:
Marcel 2024-08-11 17:20:45 +02:00 committed by lewo
parent ab52efd622
commit b859c910ab

View File

@ -77,7 +77,7 @@ in
domain = "${cfg.dmarcReporting.domain}"; domain = "${cfg.dmarcReporting.domain}";
org_name = "${cfg.dmarcReporting.organizationName}"; org_name = "${cfg.dmarcReporting.organizationName}";
from_name = "${cfg.dmarcReporting.fromName}"; from_name = "${cfg.dmarcReporting.fromName}";
msgid_from = "dmarc-rua"; msgid_from = "${cfg.dmarcReporting.domain}";
${lib.optionalString (cfg.dmarcReporting.excludeDomains != []) '' ${lib.optionalString (cfg.dmarcReporting.excludeDomains != []) ''
exclude_domains = ${builtins.toJSON cfg.dmarcReporting.excludeDomains}; exclude_domains = ${builtins.toJSON cfg.dmarcReporting.excludeDomains};
''} ''}