Configuration
Every environment variable of the engine.
| Variable | Default | Meaning |
|---|---|---|
DATABASE_URL | — | Postgres for sypnia_mail |
SYPNIA_MAIL_TRANSPORT | smtp | ses or smtp |
SMTP_URL | — | the upstream SMTP server with the smtp transport |
AWS_REGION, SES_CONFIGURATION_SET | — | with the ses transport |
EVENTS_QUEUE_URL | — | the SQS queue of SES events |
STORAGE_URL | local folder | S3-compatible storage for bodies and attachments |
RETENTION_DAYS | 30 | how long bodies are kept |
RELAY_PORTS | 587 | SMTP relay ports; empty turns the relay off |
TLS_CERT, TLS_KEY | — | certificate for the relay’s STARTTLS and 465 |
JWKS_URL | — | to accept JWTs from your issuer as well as keys |
TRACKING_HOST | — | the host for open and click tracking; without it tracking is off |