Frontier Mail

Configuration reference

This page is generated from the installer's own files; it cannot drift from them.

Installer options

Given to ./install.sh. Choices are written to config/install.env (no secrets in it); running the installer again with the same or changed options is safe.

Option Default What it does
--host required The mail server's name, for example mail.example.com. It is the name mail clients connect to and the name the certificate carries.
--domain required Your first mail domain, for example example.com. The platform operator is admin@<domain>.
--tls-mode acme acme gets a real certificate (needs --acme-email and the host's A record reachable on port 80). internal uses the edge's own CA: for evaluation only, browsers and mail clients will not trust it.
--acme-email required with acme The address the certificate authority writes to about expiring certificates.
--resolver the machine's own The DNS server used for the preflight and handed to the mail server for its spam and authentication lookups. Use a resolver that blocklists answer (a public one such as 1.1.1.1 is refused by several).
--public-ip none This machine's public address; the preflight then checks the host name points at it.
--project frontier-mail The Docker Compose project name; volumes and containers are named after it, so a second install on a machine needs another.
--origin https://<host> The public address of the web mail, when it is not the host name on port 443.
--port-http / --port-https / --port-smtp / --port-smtps / --port-submission / --port-imaps 80 / 443 / 25 / 465 / 587 / 993 Host ports, for a machine that cannot give up the standard ones. Public mail delivery needs 25.
--network its own An existing Docker network to join instead of making one.
--skip-preflight off Runs the install although the preflight failed. Only for when you know what the failure means.
--no-start off Writes everything and stops before starting the services.

Optional features

Every optional feature is off after an install. ./features list shows the state, ./features on NAME and ./features off NAME change it, and docker compose --env-file config/install.env up -d mail applies it. The switches live in config/features.env, which the installer never overwrites; you can also edit it by hand.

campaigns

Send newsletters from a separate signing subdomain, with bounce handling, suppression and one-click unsubscribe. Needs a sending subdomain added in Administration, then named in the plan. Starts at 50 messages a day, doubling to 500. Key: secrets/bulk-key (made once, never replaced).

Sets:

push

Web Push: a browser or installed web app is told "state changed" with no mail content. Key: secrets/vapid-private (made once; replacing it ends every subscription).

Sets:

sharing

Shared mailboxes, address books and calendars between people of one organisation.

Sets:

delete-people

An administrator can delete a person (Administration, Accounts; it asks twice). The account stops working at once, its data is removed in the background and the address is held for 90 days. Permanent: a deleted account cannot be recovered, and the bytes are removed, not shredded.

Sets:

spam-threshold

How readily mail is filed as junk (default 50; lower is stricter). Edit the number after turning it on.

Sets:

device-setup

Phones and mail programs find the server settings by themselves from an address (Thunderbird, Outlook, the iPhone profile in Settings). Needs two DNS records, autoconfig.<your domain> and autodiscover.<your domain>, pointing where <your mail host> points. It adds two small web sites to the edge, whose certificates are obtained when the records exist.

Sets:

Files

File What it is
config/install.env The installer's choices. No secrets.
config/features.env The optional feature switches. No secrets.
config/dns-records.txt The DNS records to publish for the first domain (public values only).
config/licence/licence.json Your licence file, when you have one. Without it the free size applies: 25 mailboxes, 3 domains.
secrets/ The first password, the second-step key, and the keys the optional features use. Mode 0400, never printed; keep it as private as your server's /etc, and never replace a key file (replacing the campaign key breaks every unsubscribe link already sent; replacing the push key ends every push subscription).
dkim/ The signing keys for your first domain. Keys for domains added later are made by the server.