Zum Hauptinhalt springen

How a domain's mail leaves

Each mail domain sends its mail its own way: straight from this server, through a delivery service with the domain's own account, or through the domain's own server (VPS). The choice is made in the E-Mail-Versand block at the top of the Domains pane — see Mail domains — and is for an administrator. Until a way other than the direct one is switched on, the domain's mail leaves straight from this server. Under the title of the block stands the line Jede Domain versendet auf ihre eigene Weise: direkt von diesem Server, über einen Zustelldienst mit dem eigenen Konto der Domain oder über den eigenen Server der Domain (VPS).

Choose a way​

Until a way is connected, the list Wie die E-Mails der Domain versendet werden offers three: Direkt von diesem Server, Über einen Zustelldienst and Über Ihren eigenen Server (VPS). After you connect one, the list gives place to the state of the connected way.

Straight from this server​

The block says Die E-Mails werden von der eigenen Adresse dieses Servers gesendet. Empfänger vertrauen ihnen nur, wenn Port 25 nach außen geöffnet ist, die Adresse einen Reverse-Eintrag hat, der den Mailserver benennt, und die Adresse auf keiner Sperrliste steht.

Press Adresse dieses Servers prüfen. The answer lists:

CheckWhat it tells
Ausgehender Port 25Whether port 25 is open outwards
… verweist auf die AdresseWhether the name's A record leads to the address; the ellipsis stands for the name of the server
Reverse-Eintrag von …Whether the reverse record of the address names the mail server; the ellipsis stands for the address
…-SperrlisteWhether the address is listed; one line each for Spamhaus, SpamCop and Barracuda, the name of the list stands in place of the ellipsis

Each line ends with a word — in Ordnung, offen, geschlossen, nicht vorhanden, verweist woandershin, nicht gelistet, gelistet, fehlgeschlagen or Prüfung nicht möglich — and a dot: green for a good answer, red for a bad one, grey for Prüfung nicht möglich. When the reverse record is missing or names something else, the check adds the request Senden Sie dies an den Hosting-Anbieter der Adresse: with a ready text and a copy button. The text reads Guten Tag! Bitte setzen Sie den Reverse-DNS-Eintrag (PTR) von … auf …. Es handelt sich um einen Mailserver; E-Mails werden von ihm unter diesem Namen versendet. Vielen Dank. (the ellipses stand for the address and the name of the server); if copying fails, the text can be selected and copied by hand. When the public address of the server stays unknown, a line says Die öffentliche Adresse dieses Servers konnte nicht ermittelt werden, daher wurde sein Reverse-Eintrag nicht geprüft. SpamCop and Barracuda are asked without a key. Spamhaus answers reliably with the blocklist lookup key; without it the query goes to the public Spamhaus mirror, which refuses a query made through a public DNS server — then the Spamhaus line reads Prüfung nicht möglich.

Through a delivery service​

Mail leaves through a delivery service, with an account of the domain's own: one account serves one domain.

  1. Choose the Zustelldienst. The list names Mailjet and Brevo, marked empfohlen; above it stands the line Registrieren Sie sich selbst beim Dienst und geben Sie dann hier dessen Schlüssel ein: Wir registrieren … bei ihm und schalten den Versand ein, sobald er die Domain bestätigt. Die Einträge, die er verlangt, werden von hier aus dort veröffentlicht, wo diese Installation in die Zone der Domain schreibt (Cloudflare, Namecheap); anderswo tragen Sie die Einträge anhand der Tabelle unten selbst ein. (the ellipsis stands for the domain). Under the list Qubix shows how many messages a day or a month the service gives free — … Nachrichten pro Tag kostenlos and … Nachrichten pro Monat kostenlos, the number stands in place of the ellipsis — and a link to register.
  2. Register with the service yourself — the link Bei … registrieren (the name of the service stands in place of the ellipsis) is under the list — and take its keys.
  3. Enter them: for Mailjet the API-Schlüssel and the Geheimer Schlüssel, for Brevo the SMTP-Anmeldename, the SMTP-Schlüssel and the API-Schlüssel (Einstellungen → SMTP & API → API-Schlüssel).
  4. Press Verbinden. Under the fields stands the line Jede Domain braucht ein eigenes Konto: Ein Konto kann nicht zwei Domains bedienen.

Qubix registers the domain with the service and switches sending on once the service confirms the domain. Where Qubix writes the domain's zone (Cloudflare, Namecheap), the records the service asks for are published from here; elsewhere you enter them from the records table in Mail domains.

Through your own server (VPS)​

The block says Die E-Mails der Domain werden von der Adresse Ihres eigenen VPS unter dessen Namen gesendet. Sie erhalten einen Befehl für den VPS: Er installiert das Mail-Relay und prüft, ob E-Mails den VPS verlassen können.

  1. Enter the VPS-Adresse (IPv4) and the Servername (by default mail. followed by the domain; the name must lie inside the domain).
  2. Press Befehl anfordern. The command appears with a copy button.
  3. Run the command on the VPS as root; above the command stands Führen Sie dies auf dem VPS als root aus: The command installs the mail relay and checks that mail can leave the VPS. Under it stands the line Der Befehl funktioniert nur einmal und ist 24 Stunden lang gültig. Klicken Sie danach auf „Prüfen“. When the command is no longer on the screen, the block says Der Befehl wird nur einmal angezeigt. Fordern Sie bei Bedarf einen neuen an., and once the VPS has taken its settings, Der VPS hat seine Konfiguration abgeholt. Falls die Einrichtung nicht abgeschlossen wurde, fordern Sie einen neuen Befehl an.
  4. Press Prüfen.

Under the fields stands the line Der VPS benötigt Debian oder Ubuntu, einen beim Hosting-Anbieter nach außen geöffneten Port 25 und einen Reverse-Eintrag seiner Adresse, der den Server benennt — die Prüfung unten liefert eine fertige Anfrage an den Hosting-Anbieter. After the command has run, the block says what the VPS reported about port 25 out of it: Ausgehender Port 25 am VPS: … (the status stands in place of the ellipsis). Once the checks have run, the block lists them: port 25 out (Ausgehender Port 25), the sign-in of this server to the VPS (Anmeldung am VPS), where the VPS name leads (… verweist auf die Adresse), and the reverse record (Reverse-Eintrag von …). While it is still being prepared, a line names what is yet to be done — see the table of notes below.

Connected: the states​

The block says which state the connected way is in:

LineMeaning
Der Versand über … wird eingerichtetThe domain waits for the service or the VPS to confirm
Die E-Mails der Domain werden über … versendetThe way works
Die E-Mails der Domain warten: Der neue Befehl wurde auf … noch nicht ausgeführtYou asked for a new command, and until it is run on the VPS the domain's mail waits
… nimmt die E-Mails der Domain nicht mehr anMessages wait in the hold queue
… wird getrenntThe route is being taken off the domain; under the line stands Diese Installation versucht es selbstständig weiter; Sie können auch erneut auf „Trennen“ klicken.

In these lines the ellipsis stands for the name of the service, or for the name and the address of the VPS. While the way is being set up or has stopped taking the mail, under the line stands Bis dahin werden die E-Mails der Domain direkt von diesem Server gesendet. A way that is switched on but that the mail server does not use adds the line Der Mailserver leitet die E-Mails der Domain nicht über diesen Versandweg. Klicken Sie auf „Prüfen“, um ihn erneut zu verbinden.

Under the line, a note says what the way is still waiting for. For a delivery service:

NoteComment
Der Dienst hat noch nicht bestätigt, dass die Domain Ihnen gehört.The service has not yet confirmed that the domain is yours
Der Dienst hat die DKIM-Signatur der Domain noch nicht gefunden.The DKIM signature is not found yet
Der Dienst hat im SPF-Eintrag der Domain noch keinen Verweis auf sich selbst gefunden.The SPF record does not name the service yet
Die Domain ist beim Dienst registriert; ihre Einträge verbreiten sich im DNS.The domain is registered; its records are spreading through DNS
Der Dienst akzeptiert den Schlüssel nicht. Prüfen Sie ihn im Panel des Dienstes und verbinden Sie den Dienst erneut.Check the key in the service's panel and connect again

For a VPS:

NoteComment
Führen Sie den Befehl auf dem VPS aus.The command is yet to run on the VPS
E-Mails können den VPS nicht verlassen: Der Hosting-Anbieter hält Port 25 geschlossen. Bitten Sie den Hosting-Anbieter, den Port zu öffnen.The hoster keeps port 25 closed
Der VPS konnte den ausgehenden Port 25 nicht prüfen. Fordern Sie einen neuen Befehl an und führen Sie ihn erneut auf dem VPS aus.Get a new command and run it again
Der VPS antwortet nicht auf Port … oder verweigert diesem Server die Anmeldung.The ellipsis stands for the port number
… verweist noch nicht auf ….The ellipses stand for the name and the address of the VPS
Der Reverse-Eintrag von … nennt … noch nicht.The ellipses stand for the address and the name
Der SPF-Eintrag der Domain nennt den VPS noch nicht.The SPF record of the domain lacks the VPS
Die Domain hat mehrere SPF-Einträge, und Empfänger vertrauen keinem davon. Behalten Sie nur einen.Receivers trust none of several SPF records; keep one
Der Mailserver dieser Installation kennt den Fingerabdruck des VPS noch nicht: Aktualisieren Sie den Mail-Stack.The other checks have passed; the way waits until the mail part of this installation is updated
Der Name … verweist bereits woandershin, daher kann der A-Eintrag des Versandwegs dort nicht stehen. Entfernen Sie diesen Eintrag aus dem DNS der Domain oder geben Sie dem VPS einen anderen Namen.The ellipsis stands for the name; remove the other record or give the VPS another name

For a service the block also shows the login and the end of the key: Anmeldename: … and Schlüssel endet auf … (the ellipsis stands for the login and for the last characters of the key).

If the chosen way turns the domain's mail back, the messages wait, and one of them is tried again every hour; the block says how many are waiting and since when: … Nachrichten warten: Der Versandweg nimmt sie seit … nicht an. Stündlich wird eine davon erneut versucht. The ellipses stand for the number of messages and the time since which the way turns them back.

The buttons of the connected way:

  • Prüfen asks the service or the VPS again.
  • Neuer Befehl (VPS only) gives the VPS a new password and certificate; once the VPS has taken its settings, the button asks a question first, because until you run the new command on the VPS the domain's mail waits: Ein neuer Befehl gibt dem VPS ein neues Passwort und ein neues Zertifikat. Bis Sie ihn auf dem VPS ausführen, warten die E-Mails der Domain. While the way is still being set up, the question reads Ein neuer Befehl gibt dem VPS ein neues Passwort und ein neues Zertifikat; der zuvor ausgegebene Befehl funktioniert dann nicht mehr.
  • Trennen returns the domain to sending straight from this server, after the question Den Versandweg der Domain … trennen? Die E-Mails der Domain werden dann direkt von diesem Server gesendet. The ellipsis stands for the domain.

When taking the route off falls short at once, the block names the step that fell short:

  • Die E-Mails der Domain laufen weiterhin über diesen Versandweg: Er konnte nicht von der Domain entfernt werden.
  • Der Relay-Eintrag des Versandwegs steht noch auf dem Mailserver.
  • Die Einträge des Versandwegs sind noch nicht aus dem DNS der Domain entfernt: followed by the record and the reason
  • Der Datensatz des Versandwegs konnte nicht aus dem Speicher dieser Installation entfernt werden.

When the records of a connected way could not be written, the line reads Die Einträge des Versandwegs wurden nicht in das DNS der Domain eingetragen: followed by the record and the reason.

What's next​