Skip to content

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

The handoff would need to account for queued mail, pending bounces, suppression entries and DKIM keys.

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

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.

Back to docs