mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
implement accepting dmarc & tls reports for other domains
to accept reports for another domain, first add that domain to the config, leaving all options empty except DMARC/TLSRPT in which you configure a Domain. the suggested DNS DMARC/TLSRPT records will show the email address with configured domain. for DMARC, the dnscheck functionality will verify that the destination domain has opted in to receiving reports. there is a new command-line subcommand "mox dmarc checkreportaddrs" that verifies if dmarc reporting destination addresses have opted in to received reports. this also changes the suggested dns records (in quickstart, and through admin pages and cli subcommand) to take into account whether DMARC and TLSRPT is configured, and with which localpart/domain (previously it always printed records as if reporting was enabled for the domain). and when generating the suggested DNS records, the dmarc.Record and tlsrpt.Record code is used, with proper uri-escaping.
This commit is contained in:
@ -45,8 +45,8 @@ describe-static" and "mox config describe-domains":
|
||||
|
||||
# If enabled, a single DNS TXT lookup of _updates.xmox.nl is done every 24h to
|
||||
# check for a new release. Each time a new release is found, a changelog is
|
||||
# fetched from https://updates.xmox.nl and delivered to the postmaster mailbox.
|
||||
# (optional)
|
||||
# fetched from https://updates.xmox.nl/changelog and delivered to the postmaster
|
||||
# mailbox. (optional)
|
||||
CheckUpdates: false
|
||||
|
||||
# In pedantic mode protocol violations (that happen in the wild) for SMTP/IMAP/etc
|
||||
@ -601,6 +601,10 @@ describe-static" and "mox config describe-domains":
|
||||
# non-internationalized. Recommended value: dmarc-reports.
|
||||
Localpart:
|
||||
|
||||
# Alternative domain for report recipient address. Can be used to receive reports
|
||||
# for other domains. Unicode name. (optional)
|
||||
Domain:
|
||||
|
||||
# Account to deliver to.
|
||||
Account:
|
||||
|
||||
@ -640,6 +644,10 @@ describe-static" and "mox config describe-domains":
|
||||
# tls-reports.
|
||||
Localpart:
|
||||
|
||||
# Alternative domain for report recipient address. Can be used to receive reports
|
||||
# for other domains. Unicode name. (optional)
|
||||
Domain:
|
||||
|
||||
# Account to deliver to.
|
||||
Account:
|
||||
|
||||
|
Reference in New Issue
Block a user