Skip to main content

Mail domains

The Domains entry at the bottom of the left pane opens Mail domains with the line How each domain's mail leaves, and what has to stand in its DNS for the mail to arrive and to be believed. That is, for each mail domain, which DNS records it needs so that its mail arrives and receivers trust it, and how its mail leaves. The entry is for an administrator. With several mail domains, choose one in the Domain list. A domain gets here when it is marked for mail — see Company mail; until then the pane says The mail of this installation serves no domains of yours yet. Add one, and its records will appear here.

The pane holds, for the chosen domain, two blocks one under the other: Sending mail — see How a domain's mail leaves — and the table of DNS records described here. On an installation with IPv6 left off, a note at the top reads IPv6 is not enabled for this installation; mail on this server runs over IPv4.

Who publishes the records​

A line above the table says whose job the records are:

  • We publish this domain's records ourselves - nothing is needed from you — the domain's zone is in your Cloudflare account or kept by the registrar Namecheap, and Qubix publishes the records itself. A second line names the source of the records: The domain's zone is in your Cloudflare account - the records are published from here., or, when the zone has a name, The domain's records live in the Cloudflare zone … - they are published from here. (the ellipsis stands for the name of the zone), or The domain's records are kept by the registrar Namecheap - they are published from here.
  • The domain has not been moved to our nameservers yet — a zone for the domain already exists here, but the domain is still served by somebody else's nameservers. The line says A zone for this domain already exists here, but the domain itself is still served by somebody else's nameservers, so nothing published in our zone is read by anyone. Set these nameservers at the domain's registrar: followed by the nameservers to set. As soon as the domain moves to them, the missing records are published by themselves.
  • You enter these records - we show what goes where — the domain points at a provider other than Cloudflare and Namecheap. The line says The domain points at neither Cloudflare nor Namecheap, and those are the only two we can publish records at. The values in the table below are ready to enter: copy them and add them wherever this domain's DNS is kept. Under it stands These nameservers serve the domain right now - the records go into their owner's control panel, which is not necessarily the domain's registrar: followed by the nameservers that serve the domain now, so you know whose control panel that is.
  • Could not find out where the domain's zone is — Cloudflare or the registrar stayed silent just now, so the records stayed as they were. The line says Cloudflare or the registrar did not answer just now, so no records were changed. Press «Check again» a little later. and names the zone that did not answer. Press Check again a little later; once they answer again, the scheduled pass writes what is missing.

Under the line you may also see:

  • the state of the certificate for the domain's own mail server name: issued (The certificate for … is issued: mail apps connect to it without warnings.); waiting (The certificate for … is not issued yet: it is requested once the name leads to this server.); held back (The certificate for … cannot be requested yet: the name's A record does not lead to this server yet. Until then mail arrives through the installation's own name.); or failed, with the time of the next try and the reason — The certificate for … was not issued; the next try is at …. … (the dots stand for the name, the time of the next try and the reason);
  • the note The mail server has not made a signing key for this domain yet, so there is no signature record to publish.
  • a warning in red when the registrar's own mail is switched on for the domain: The registrar's own mail is switched on for this domain (mode …), and your own records cannot stand beside it. Switch it off at the registrar and repeat - doing it for you would turn off mail you are using right now. The ellipsis stands for the mode of that mail.

The table of records​

The table has the columns Record, What it must be (each value has a Copy button; its hover hint reads Copy the value, and for two seconds after the press the button reads Copied), What is in DNS now (nothing when the record is missing) and State. Under the kind of each record stand its DNS type and name. The records:

RecordWhat it is for
Where the mail arrivesMX: where the domain's mail arrives
Who may send on behalf of the domainSPF: who may send on behalf of the domain
Signature of outgoing mailDKIM: the signature of outgoing mail
What to do with mail that fails the checksDMARC: what receivers do with mail that fails the checks
Address of the domain's mail serverThe A record of the domain's mail server name
Signature of the delivery service, Proof for the delivery service that the domain is yours, Record the delivery service asks forRecords a delivery service asks for, when the domain sends through one
Where the name of your VPS leadsThe record that makes the name of your own VPS lead to it, when the domain sends through a VPS

The state of a record is In place, Not there yet, Something else is there or Could not check.

The buttons​

  • Publish now appears when Qubix writes the domain's zone and some record is still missing. It writes the missing records.
  • Check again reads DNS again.

While some record is still missing, a line under the buttons says what happens next, by the position of the domain:

PositionThe line
We publish this domain's records ourselves - nothing is needed from youWhatever is not in DNS yet, we publish ourselves on the next check.
The domain has not been moved to our nameservers yetAs soon as the domain moves to these nameservers, we publish the missing records ourselves - nothing more will be needed from you.
You enter these records - we show what goes whereEnter the values from this table at your DNS provider by hand.
Could not find out where the domain's zone isNothing was changed. Once Cloudflare or the registrar answers again, the scheduled pass writes what is missing.

If writing a record fails, the panel reports the record and the reason:

ReasonWhat it means
the domain's SPF could not be read from its zone, so it was not written this timeThe record is left for the next attempt
the domain's SPF would need more than ten DNS lookups, which receivers rejectReceivers reject such a record
the domain has several SPF records and receivers trust none of them — keep one, then write againReceivers believe only a single SPF record — keep one, then publish again
this installation could not keep a note of what it adds to the SPF, so it did not write itThe record is left for the next attempt
the name already leads elsewhere and is left as it isIt is left as it is
the records at this name could not be read in the zone, so the record was not writtenThe record is left for the next attempt
the registrar's own mail is switched on, and the route's records are not written thereThe records of the route are written once the registrar's mail is switched off
Cloudflare or the registrar did not answer where the domain's zone isThe records stayed as they were; try again later

When the domain already carries a DMARC record of its own, Qubix leaves it in place and reports that its own record was kept back: Not written: … — the domain already carries a DMARC record of its own, and this installation did not replace it. Ours only monitors, so putting it beside theirs would leave the domain with no policy at all. The ellipsis stands for the kinds of records that were not written. Qubix's own record only monitors, and two such records side by side would void the domain's policy.

note

Under the table stands the line New records take from a few minutes to a couple of days to spread through DNS. Until then this table may still show the old values - that is not a failure. The state is temporary.

What's next​