{{define "content"}}

{{.Domain.Name}}

{{.User}}
← All domains {{if .Flash}}
{{.Flash}}
{{end}} {{if .NewCred}}

New application password

This password is shown once only and is not stored. Copy it now — if it is lost, regenerate a new one.

{{.NewCred.Login}} {{.NewCred.Password}}
{{end}}

DKIM DNS record

Publish this TXT record in the DNS for {{.Domain.Name}}. It is not a secret and can be viewed at any time.

{{.Record.Name}} TXT {{.Record.Value}}

Also configure SPF and DMARC for the domain (see the documentation). Mail is signed with selector {{.Domain.DKIMSelector}}.

Applications

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}} {{range .Apps}} {{end}}
LoginModeAddresses
{{.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 mode
{{else}}

No applications yet. Create one below.

{{end}}

Add an application

{{if .Error}}

{{.Error}}

{{end}}

A strong password is generated and shown once. The login must be unique across all domains and may contain letters, digits, '.', '-' and '_'.

Danger zone

Deleting this domain also deletes its DKIM key and every application bound to it.

Delete domain
{{end}}