Documentation
Relays per domain
The /admin/relays page manages connectors: named smarthosts through which outgoing mail leaves the server per domain. They complement the single global smarthost from config.yaml — they do not replace it.
When connectors make sense
- Each tenant their own smarthost (assignment
absender): on an installation with several tenants, each domain delivers through the smarthost that fits its account — with its own credentials and its own reputation. - Partner domains on fixed routes (assignment
empfaenger): mail topartner.examplegenerally goes through that partner's connector.
Selection when a message goes out
- The more specific domain wins — measured across both assignment kinds.
- On a tie, the recipient assignment wins.
- If no connector matches, the global smarthost from
config.yamlapplies (unchanged, including its TLS rule). - Without a global smarthost, mail is delivered directly to the recipient's MX.
Domains always match the domain itself and all subdomains: a connector for example.com also covers mail.example.com, but not notexample.com.
TLS modes
| Mode | Behaviour |
|---|---|
starttls |
STARTTLS when the peer offers it. Without STARTTLS the connection continues unencrypted — but only without authentication. |
tls |
Immediate TLS (port 465). |
starttls-pflicht |
Never sends without TLS, even without authentication. If the peer does not offer STARTTLS, the message stays in the queue. |
Certificate verification is on by default. Turning it off is possible but insecure — the UI warns about it. Credentials only ever travel over an encrypted connection; this rule applies per connector exactly as it does for the global smarthost.
Failure behaviour and counters
If a connector fails, the message returns to the queue and is retried later — there is no silent fallback to another connector, the global smarthost, or direct delivery. The connector's own failure counter increases; a successful delivery resets it. The Test button checks connection and authentication without sending a message and feeds the traffic light in the table.
Passwords
A connector's password is stored like the global relay's and never leaves the server: API responses only say whether one is set. When editing, leaving the password field empty keeps the stored one.
Routing preview
Below the table, the preview shows for any sender and recipient address which route would apply — the same function the delivery path uses.
Sender assistant
The sender assistant (/admin/absender) takes connectors into account: for each local domain, the connector that would be chosen for mail from it applies — otherwise the global smarthost.
It checks a domain's outbound path and shows a traffic light with a reason for each check: PTR, FCrDNS and HELO (for direct delivery), whether SPF covers the own address or the relay, whether the DKIM key in DNS matches the server's key, whether a DMARC record exists (with a proposal), whether port 25 is reachable and whether the smarthost accepts a login — connection, STARTTLS, AUTH, without sending a message. A test message goes through the same queue as any other mail; the result names the first delivery stage.
The result is green only when nothing is red and nothing is yellow without a reason. The assistant is built and tested against test stands; a test message to a real external address only becomes measurable after rollout.
API
GET /api/v1/admin/relays— list (without passwords) plus global smarthost detailsPOST /api/v1/admin/relays— create a connectorPUT /api/v1/admin/relays/{id}— update (empty password keeps the stored one)DELETE /api/v1/admin/relays/{id}— deletePOST /api/v1/admin/relays/{id}/test— connection and authentication testGET /api/v1/admin/relays/vorschau?absender=…&empfaenger=…— routing preview
Creating, updating, deleting, and testing are recorded in the audit log. A domain administrator sees and manages only the sender connectors of their own tenant; recipient connectors and the preview belong to the operator.
Something unclear or described wrong? Tell us — we will fix it. Your question shows us where the text falls short.