{{define "content"}}
This password is shown once only and is not stored. Copy it now — if it is lost, regenerate a new one.
Publish this TXT record in the DNS for {{.Domain.Name}}. It is not a secret and can be viewed at any time.
Also configure SPF and DMARC for the domain (see the documentation). Mail is signed with selector {{.Domain.DKIMSelector}}.
What DNS publishes for {{.Domain.Name}} right now, checked against the key this server signs with. Results are cached for a few minutes — after publishing a record, use Re-check.
{{.DNS.DKIM.Detail}}
{{if .DNS.DKIM.Records}}{{range .DNS.DKIM.Records}}{{.}} {{end}}{{end}}{{.DNS.SPF.Detail}}
{{if .DNS.SPF.Records}}{{range .DNS.SPF.Records}}{{.}} {{end}}{{end}}The SPF check is deliberately shallow: it looks for a
mechanism that literally covers this server's address and does not follow
include: or redirect=, so a record that authorises
the server through an include is reported as “cannot tell”, not as a failure.
{{.DNS.DMARC.Detail}}
{{if .DNS.DMARC.Records}}{{range .DNS.DMARC.Records}}{{.}} {{end}}{{end}}Point the mail client or script at these settings and authenticate with an application login and password from the Applications section below. They are the same for every domain on this server.
Authentication is required on every port. The username is the application's login (see the table below) and the password is the one shown once when that application was created or its password regenerated — if it was lost, generate a new one.
Each application is a SASL login/password an app or script uses to send mail as this domain. A login may send from any address of the domain (wildcard) or only from a fixed list of addresses.
{{if .Apps}}| Login | Mode | Addresses | |
|---|---|---|---|
| {{.Login}} | {{if eq .AddressMode $.Wildcard}}Any address (@{{$.Domain.Name}}){{else}}List{{end}} | {{if eq .AddressMode $.Wildcard}}*@{{$.Domain.Name}}{{else}} {{range $i, $a := .Addresses}}{{if $i}}, {{end}}{{$a}}{{end}} {{end}} |
Edit modeRate limit{{if .HasLimit}} (active){{end}}{{if .HasLimit}} {{end}} |
No applications yet. Create the first one with the Add an application form.
{{end}}A strong password is generated and shown once. The login must be unique across all domains and may contain letters, digits, '.', '-' and '_'.
Optional level-2 limit (spec 7.4): cap how many messages this domain may send from its expected client IP(s) within a time window, summed across all its applications. It counts messages — one message to many recipients counts once. Leave the IP list empty to disable it and rely only on the global level-1 limit. Applications that send from changing IPs should be left unbound here.
Status: {{if .DomainHasRL}}active{{else}}inactive (level-1 only){{end}}.
{{if .DomainHasRL}} {{end}}Download this domain to move it to another SelfPost instance: its DKIM key, selector and every application with its working password. On import the DNS record stays the same, so no DNS change is needed.
The export file is a secret — it contains the private DKIM key and application passwords. Transfer it securely and delete it after the import.
Deleting this domain also deletes its DKIM key and every application bound to it.
Delete domain