mail-tester/.env.example
2026-11-16 11:31:37 +01:00

19 lines
847 B
Bash

MAIL_DOMAIN=mail-test.example.org # domain of the test addresses (your Stalwart domain)
JMAP_URL=https://mail.example.org # Stalwart base URL
JMAP_USER=catchall@mail-test.example.org
JMAP_PASSWORD=change-me
# JMAP_TOKEN= # alternative: bearer token instead of user/password
# SPAMD_ADDR=127.0.0.1:783 # empty = SpamAssassin check skipped
# Database: sqlite (default), mysql or postgres
DB_DRIVER=sqlite
DB_NAME=mailtester.db # sqlite: file path; mysql/postgres: database name
# DB_HOST=localhost
# DB_PORT=3306 # default 3306 (mysql) / 5432 (postgres)
# DB_USER=mailtester
# DB_PASSWORD=
# DB_SSLMODE=prefer # postgres only
LISTEN=:8080
# TRUSTED_PROXIES=10.0.0.0/8 # set when behind a reverse proxy, else rate limit sees the proxy IP
# LOG_LEVEL=INFO