mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 06:34: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:
13
doc.go
13
doc.go
@ -57,6 +57,7 @@ low-maintenance self-hosted email.
|
||||
mox dmarc lookup domain
|
||||
mox dmarc parsereportmsg message ...
|
||||
mox dmarc verify remoteip mailfromaddress helodomain < message
|
||||
mox dmarc checkreportaddrs domain
|
||||
mox dnsbl check zone ip
|
||||
mox dnsbl checkhealth zone
|
||||
mox mtasts lookup domain
|
||||
@ -665,6 +666,18 @@ can be found in message headers.
|
||||
|
||||
usage: mox dmarc verify remoteip mailfromaddress helodomain < message
|
||||
|
||||
# mox dmarc checkreportaddrs
|
||||
|
||||
For each reporting address in the domain's DMARC record, check if it has opted into receiving reports (if needed).
|
||||
|
||||
A DMARC record can request reports about DMARC evaluations to be sent to an
|
||||
email/http address. If the organizational domains of that of the DMARC record
|
||||
and that of the report destination address do not match, the destination
|
||||
address must opt-in to receiving DMARC reports by creating a DMARC record at
|
||||
<dmarcdomain>._report._dmarc.<reportdestdomain>.
|
||||
|
||||
usage: mox dmarc checkreportaddrs domain
|
||||
|
||||
# mox dnsbl check
|
||||
|
||||
Test if IP is in the DNS blocklist of the zone, e.g. bl.spamcop.net.
|
||||
|
Reference in New Issue
Block a user