Postmaster: every domain's DMARC reports go to a postmaster@ that may not exist #373

Closed
opened 2026-11-11 18:20:16 +00:00 by jcoffey-dev · 1 comment
Owner

Reported by khashmeshab on the forum (https://community.coffeylabs.org/t/232/12).

A domain's DMARC record defaults to rua=mailto:postmaster@<that domain> (report_address_uri = mailto:postmaster, crates/common/src/network/dns/records.rs). Nothing routes postmaster@ on its own, so on a second or third domain the reports bounce unless the admin creates an account, alias or catch-all for each one. RFC 5321 wants a working postmaster@ for every domain anyway.

Ideas from the report:

  • add postmaster@<domain> as an alias of the primary domain's postmaster when a domain is added, and remove it with the domain;
  • or one postmaster address for all domains. A rua on another domain needs that domain to publish <domain>._report._dmarc.<other> TXT "v=DMARC1" (RFC 7489 §7.1), so the alias route is simpler.

Not settled: which account gets it when there is no postmaster on the primary domain.

Reported by khashmeshab on the forum (https://community.coffeylabs.org/t/232/12). A domain's DMARC record defaults to `rua=mailto:postmaster@<that domain>` (`report_address_uri` = `mailto:postmaster`, `crates/common/src/network/dns/records.rs`). Nothing routes `postmaster@` on its own, so on a second or third domain the reports bounce unless the admin creates an account, alias or catch-all for each one. RFC 5321 wants a working postmaster@ for every domain anyway. Ideas from the report: - add `postmaster@<domain>` as an alias of the primary domain's postmaster when a domain is added, and remove it with the domain; - or one postmaster address for all domains. A `rua` on another domain needs that domain to publish `<domain>._report._dmarc.<other> TXT "v=DMARC1"` (RFC 7489 §7.1), so the alias route is simpler. Not settled: which account gets it when there is no postmaster on the primary domain.
jcoffey-dev added the enhancement
priority
p3
labels 2026-11-11 18:20:16 +00:00
Author
Owner

Fixed in #379. Mail to a report address (postmaster@* by default) on one of the server domains is now taken from senders who have not signed in even when no account has that address; any DMARC, TLS or feedback report in it is read as usual, and anything else is refused at DATA with the same "Mailbox does not exist". So extra domains no longer need a postmaster account for their reports. A person writing to a postmaster@ that does not exist still gets a bounce. Thanks to khashmeshab for the report. It will be in 27.1-rc.21.

Fixed in #379. Mail to a report address (`postmaster@*` by default) on one of the server domains is now taken from senders who have not signed in even when no account has that address; any DMARC, TLS or feedback report in it is read as usual, and anything else is refused at DATA with the same "Mailbox does not exist". So extra domains no longer need a postmaster account for their reports. A person writing to a postmaster@ that does not exist still gets a bounce. Thanks to khashmeshab for the report. It will be in 27.1-rc.21.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#373