LLI Wiki — My Digital Knowledge Base

mailbox.org: configuring MX and DKIM for your own domain

MX and DKIM DNS records to create to use your own domain's addresses with mailbox.org.

To use addresses of your own domain with mailbox.org, you must configure DNS records (MX, DKIM) at the domain's DNS host. The official procedure is described in Using e-mail addresses of your domain. The examples below use example.com.

MX records

The MX records point to the mailbox.org servers, the last one having a lower priority (higher value):

example.com.  IN MX 10 mxext1.mailbox.org.
example.com.  IN MX 10 mxext2.mailbox.org.
example.com.  IN MX 20 mxext3.mailbox.org.

For comparison, a Google Workspace setup uses these MX records (priority, 1 h TTL):

Priority Server
10 aspmx.l.google.com.
20 alt1.aspmx.l.google.com.
20 alt2.aspmx.l.google.com.
30 aspmx2.googlemail.com.
30 aspmx3.googlemail.com.

DKIM key

The DKIM public key is published in a TXT record on the <selector>._domainkey subdomain. The selector and the key are provided by the mail service.

Field Value
Subdomain <selector>._domainkey
Type TXT
Text v=DKIM1; k=rsa; p=<PUBLIC_KEY>

A 2048-bit RSA key is longer than 255 characters: in a zone file the value must be split into several quoted strings, which DNS concatenates:

<selector>._domainkey IN TXT ( "v=DKIM1; k=rsa; "
  "p=<PUBLIC_KEY_PART_1>"
  "<PUBLIC_KEY_PART_2>"
  "<PUBLIC_KEY_END>" )

In the web interface of most DNS hosts you paste the full value on one line and the interface does the splitting.

A domain can have several selectors side by side (for example one for mailbox.org and google._domainkey for Google), each with its own key.

Alternative addresses (aliases)

Once the domain is configured, addresses of that domain are declared as alternative addresses (aliases) of the account in the mailbox settings.

Mastodon LLIMastodon SocialFosstodon