Settings¶
Values you save here are stored in the viewer's database. A value set by an environment variable always wins over them.
Enable editing and migrate from ENV¶
Until SETTINGS_EDIT_VIA_UI_ENABLED=true is set, the page only shows the current values, with Send test email and Test IMAP connection.
To edit settings here:
- Set
SETTINGS_EDIT_VIA_UI_ENABLED=truein.envand recreate the app withdocker compose up -d. A plain restart keeps the old environment. - Click Migrate Settings from ENV and confirm. This copies the current configuration into the database; until then every field stays read-only.
- Remove from
.envthe variables you want to manage here. KeepMAILCOW_URL,MAILCOW_API_KEY, thePOSTGRES_*values andSETTINGS_EDIT_VIA_UI_ENABLED: the app needs them before it can read the database. - Recreate the app again. A field whose variable is still set shows Set by ENV and stays locked, even when the variable is empty (
SMTP_HOST=).
If you later turn SETTINGS_EDIT_VIA_UI_ENABLED off, the app ignores the saved values, so put your sign-in settings back into .env first.
Edit and save¶
Save changes saves the changes in every category at once. Changed next to a field means it differs from the default, not from the last save.
Passwords and keys are never shown. A stored one reads Stored, with Replace and Remove. If you change the server a password is sent to, such as the SMTP host or the mailcow URL, enter the password again in the same save; the app never sends a stored password to a new server.
Most changes apply when you save. A change to the features, the app title or logo, sign-in or the mailcow URL reloads the page. A change to sign-in settings signs out every other session; you stay signed in.
Every field is also an environment variable, for example App title is APP_TITLE. Environment variables lists them with their defaults.
Features¶
All features are on by default. A feature that is off disappears from the menu, stops the background jobs used only by it and hides its category here; shared jobs continue while another enabled page needs them. Its API routes remain available. The Logs category stays, because the logs other pages read are collected and kept by its settings: with the Logs page off, Dovecot still comes in for message details and Security, Ratelimited for Rate Limits and SOGo for Devices. The switches are saved in DISABLED_FEATURES; if that variable is set, the whole list is locked.
Warning
Turning a feature off deletes the data the viewer stored for it, such as DMARC reports, quarantine rules or device history. Saving asks first (Disable and delete data); Queue and Rspamd, which store nothing, and Suppressions, whose list is kept, switch off without asking. The same happens at startup to a feature listed in DISABLED_FEATURES. Turning a feature on again reloads only what is still on the server; Suppressions syncs its kept list with Rspamd. Turning Security off takes out of Fail2ban only this app's temporary bans; permanent bans and bans added outside the app stay.
Application¶
Time zone is the time zone the whole app works in; see Using the app. Saving a new one reloads the page and moves the scheduled jobs at once. Date format and Time format set how dates and times are written on every page and in emails. The port is set in docker-compose.yml, not here.
Mailcow¶
Validate in the Status panel checks the read-write API key and the Rspamd password without changing anything in mailcow. Saving a new key or password runs the check by itself, and so does the app soon after it starts and every 6 hours, also for a key or password set in the environment (the Credential Checks job on Status). A key revoked in mailcow then shows as a problem on Status.
Logs¶
Collection for the Logs page. A service marked Always collected for another page keeps coming in even when you switch it off here; only the Logs page stops showing it.
Notifications¶
For Alert destinations (Slack, Telegram, ntfy and others) and which alert goes where, see Notifications. The address fields take several addresses separated by commas.
SMTP¶
Send test email sends a real test email to Admin email (or to SMTP username when that is empty) using the saved settings, and shows each step of the connection. Save your changes before you test.
For port 587, turn on Use STARTTLS (STARTTLS); port 465 always uses implicit TLS. Verify TLS certificates checks the server's certificate: Automatic checks host names such as smtp.example.com and skips localhost, IP addresses and container names. Keep Off only for a self-signed certificate.
Authentication¶
Basic authentication and OAuth2/OIDC can be on together. Turning on Enable Basic Auth asks you to type the username and password again before it saves, so a typo cannot lock you out. Turning on Enable OAuth2 / OIDC, or turning Basic Auth off while it is on, asks you to sign in with your provider first, and shows who signed in and the access they would get. See Sign-in configuration.
Session limits sets how long a browser stays signed in, for both sign-in methods. Longest session (hours) counts from sign-in whatever the activity. Sign out after inactivity, off by default, ends a session after Inactivity limit (minutes) without typing, clicking, scrolling with the wheel or touching; pages that refresh by themselves do not count. A minute before, the page asks whether you are still there. A shorter longest session applies to open sessions at once, so a session already past it ends; turning on sign-out after inactivity does not sign anyone out, because their inactivity time starts then. AI agents are not affected. See Sessions and signing out.
Users¶
Who may sign in, and what each user may see and do: Admin, Operator, Viewer or Custom. The built-in admin from .env is always first and always has full access. Users who sign in with your OAuth2 provider are added by email; everyone else your provider lets in gets the access set below the list, Admin by default. Changes apply at once, and the app asks before a change that lowers your own access. The list works even while editing settings is off. See Users.
Agents¶
Lets AI agents such as Claude Code and Codex connect, and lists the allowed ones with Activity and Disconnect. The list works even while editing settings is off. See AI agents.
Anomaly detection¶
It only alerts; it never blocks. It compares what each mailbox sends with its own normal rate and counts failed logins per username. Alerts go to email and your alert destinations and appear on the Dashboard.
Outgoing spam¶
It stops a mailbox from sending when it goes over a limit. The mailbox still receives mail; if its app passwords are revoked too, mail apps that sign in with one stop working. It needs the read-write API key. The same values, the stopped mailboxes and the whitelist are on the Outgoing spam card under Security > Settings; see Outgoing spam.
Domains¶
Which sending addresses must pass each domain's SPF check on Domains, separate from blocklist monitoring. Add only addresses that really send mail: every one must pass, so an inbound-only MX shows as a failure.
DMARC & TLS¶
Keep reports (days), Allow report uploads and Allow report deletion apply to DMARC and TLS reports alike. The Policy suggestions values only shape the DMARC policy suggestions; nothing here changes your DNS.
DMARC & TLS IMAP¶
Choose folders under Report folders lists the folders of the saved account; save the connection settings first. Test IMAP connection logs in with the saved settings and counts the emails in each folder the import reads, without importing anything. Use a mailbox that only receives reports: the import reads its unread emails and, by default, deletes each one it imports.
MaxMind¶
A free MaxMind account lets the app download the GeoLite2 City and ASN databases, which turn IP addresses into countries and networks. Every Sunday at 03:00 the app downloads a database that is missing or 7 or more days old. Repair, shown with Database check failed, runs the database update and checks the databases again. It downloads only databases that are missing or out of date.
Saving a new license key opens GeoIP database setup, which checks the key, downloads missing databases and tests them. If a step fails, fix the account ID or key and save again. After three minutes the window stops waiting for the download; check Database status later.
IP Blacklist (RBL)¶
Which addresses Status > Blocklists checks, and the DNS resolver it asks. Spamhaus refuses queries from public resolvers such as Google or Cloudflare, so use your own resolver. Switching on Transport IPs or Relayhost IPs adds their addresses right away. See Blocklist monitoring.
Outbound¶
What happens when outgoing mail cannot be delivered. The blocked addresses are listed on Outbound > Suppressions. Sync with Rspamd (on by default, under Address blocking) syncs the blocked addresses with Rspamd, which rejects new mail to them, both ways; off, the list is kept but cannot be changed and does not reach Rspamd (see When the sync stops or starts). Nothing is blocked automatically until Handle failed mail automatically is on (off by default).
- Permanent delivery failure (5.x.x) and Temporary delivery failure (4.x.x) are one choice each. A permanent failure blocks the address and deletes its queued mail (the default), only deletes its queued mail, or does nothing. A temporary failure is deleted after its minutes in the queue, with its recipients blocked (the default) or not, or stays in the queue while the address is blocked after a number of failures, at the first one, or not at all.
- Failures to ignore, under each delivery failure card, list failure codes the app takes no action on: it does not block the address, count the failure, or delete waiting mail. Postfix keeps retrying temporarily failed messages. Each area is closed at first; its line says what the app ignores.
- Ignore common mail problems applies a fixed list of codes. View common mail problems shows the list. Use Other permanent failures to ignore and Other temporary failures to ignore to add other codes.
- The options that block need Sync with Rspamd. With it off they are not available, and a picked one changes to the option that does the same without blocking.
- The app reads the Postfix logs only when a choice needs them.
- A value set in the environment closes only the options it rules out, and the choice names the variable.
Quarantine¶
Limits for the rules on Quarantine > Auto-Rules. A new Run Auto-Rules every (minutes) value applies when you save it.
When something is missing¶
- Every field is read-only: the settings are not migrated yet. Click Migrate Settings from ENV.
- A category is missing: its feature is off. Turn it on under Features.
- A field shows Set by ENV: change it in
.envand recreate the app. A password set this way reads Stored in the environment. - Saving says a password is set by an environment variable: you changed the server it is sent to. Change the server in
.envtoo, or undo the change. - The app stops at startup with a settings error: it could not read the saved settings from the database. It stops rather than start with your saved sign-in turned off, and starts once the database answers.
PostgreSQL values, SETTINGS_EDIT_VIA_UI_ENABLED, CORS_ALLOWED_ORIGINS and the container options are set only in the environment; see Environment variables.





