Federation
Comail has one relay operator today. A federation would let independent operators share some rules and signals for sending mail and moving between relays.
Why this page exists
Section titled “Why this page exists”The proposals below concern who operates the relay and manages its sending state. A member’s AT Protocol identity already lives on their own PDS.
Current service
Section titled “Current service”Comail authenticates senders, verifies sending domains and sends through a shared IP pool. Relay history and state stay with the operator.
A PDS operator can send email to an account hosted on their server through com.atproto.admin.sendEmail. In Bluesky’s PDS, an authorized moderator supplies the account’s DID as recipientDid. The PDS looks up the email address saved on that account.
What federation would require
Section titled “What federation would require”Independent relays would need rules for routing SMTP connections, moving member accounts, sharing signals, and handling abuse. Comail has yet to build those parts of the system.
Possible multi-relay design
Section titled “Possible multi-relay design”Member-PDS routing
Section titled “Member-PDS routing”A PDS could publish a record naming the relay that handles a member’s mail. To move, the member would change the routing record and arrange a handoff with both operators. The record and handoff are still proposals.
Shared atproto labeler as source of truth
Section titled “Shared atproto labeler as source of truth”The public labeler already issues atproto labels for some member states. Operators could use a shared labeler to keep some signals tied to a DID when a member moves. They would need to agree on who sets label policy and who controls the signing keys. The relay currently keeps auto_suspended private.
IP pool federation
Section titled “IP pool federation”Each operator would send from its own IP addresses. IP reputation would stay with those addresses. Operators could agree on rate limits, pauses, suppression, warming and acceptable use.
What a second operator would change
Section titled “What a second operator would change”In this proposal, members would still sign in with an atproto handle, prove control of their domain through DNS, and check status in /account. Operators would need to decide which relay accepts a member’s SMTP connection, how to share send and complaint signals for labels, and how to enforce suppression and acceptable-use rules.
Open design questions
Section titled “Open design questions”Governance for label policy changes
Section titled “Governance for label policy changes”Comail sets label policy today. A federation would need to decide who approves changes, such as thresholds for complaints. One option is to use the same approval process as the Acceptable Use Policy. That process is still being designed.
IP pool agreements between operators
Section titled “IP pool agreements between operators”An IP block affects the operator that owns those addresses. For abuse across pools, one proposal would let an operator request an emergency suspension for a DID. The labeler would publish the suspension, and each relay would enforce it within minutes. Operators would need to agree on when to use that option.
Member migration mechanics
Section titled “Member migration mechanics”The handoff would need to account for queued mail, pending bounces, suppression entries and DKIM keys.
Roadmap vs shipped
Section titled “Roadmap vs shipped”| Part | Status |
|---|---|
| Relay with one operator | Available |
| Public atproto label verification | Available |
| Relay source | AGPL-3.0 source in a private repository. See self-hosting for access. |
| PDS routing record and shared labeler across operators | Proposed |
| Policy ratification and incident agreements | Open questions |
| Second federated relay | No release date |
What partners can do today
Section titled “What partners can do today”PDS communities can point their members to the existing Comail enrollment. Infrastructure operators can share requirements and discuss the open questions in the project’s public channels.