Server

Var Description Default
BIND_HOSTBind host for Fastify127.0.0.1
PORTHTTP port3000
MX_API_KEYSAPI keys for /v2 routesnone

Postgres

Var Description Default
PGHOSTPostgres hostnone
PGUSERPostgres usernone
PGPASSWORDPostgres passwordnone
PGDATABASEPostgres databasenone
PGPORTPostgres port5432

Domain and DNS settings

Var Description Default
MX_HOSTMX target inserted in DNS recordsnone
MX_PRIORITY_INTMX priority10
MX_A_RECORD_VALUEOptional A record for mx hostempty
DKIM_SELECTORDKIM selectordefault

IMAP and sync

Var Description Default
IMAP_HOSTIMAP host for sync127.0.0.1
IMAP_PORTIMAP port993
IMAP_SECUREIMAP TLS on/offtrue
IMAP_MASTER_USERMaster login usernone
IMAP_MASTER_PASSMaster login passwordnone
MX_SYNC_BATCHSync batch size200
MX_SYNC_MAX_UIDSSync max UIDs per run2000

JWT verification

Var Description Default
JWT_JWKS_URLJWKS URL for RS256/ES256 tokensnone
JWT_HS256_SECRETShared secret for HS256 tokensnone
JWT_ISSUERExpected issuernone
JWT_AUDIENCEExpected audiencenone

Webhooks

Var Description Default
DOVECOT_PUSH_HMAC_SECRETHMAC secret for /hooks/dovecotnone