mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 15:40:06 +00:00
feat(mail-ingest): the transport settings in the admin form, each overridable from the environment
The IMAP box, the webhook secret and the address template join the admin settings form (masked, encrypted, held by the operator on a managed install), and MAIL_INGEST_* variables override them through the mailIngestConfig token. The audit row masks every masked key, and key rotation covers the new secrets.
This commit is contained in:
@@ -106,6 +106,16 @@ DEMO_MODE=false # Demo mode: resets data hourly
|
||||
# SMTP_FROM=TREK <noreply@example.com> # Sender address of every email TREK sends.
|
||||
# SMTP_SKIP_TLS_VERIFY=false # true accepts a self-signed certificate on an internal relay. Not for production.
|
||||
|
||||
# MAIL_INGEST_TRANSPORT=off # How forwarded booking mails reach TREK: off (uploads only), imap or webhook. Each MAIL_INGEST_* variable overrides its field in Admin > Integrations > Booking mail import.
|
||||
# MAIL_INGEST_IMAP_HOST=imap.example.com # The mailbox TREK reads every two minutes. A host on your own network needs ALLOW_INTERNAL_NETWORK=true.
|
||||
# MAIL_INGEST_IMAP_PORT=993 # 993 for TLS, 143 for STARTTLS.
|
||||
# MAIL_INGEST_IMAP_TLS=tls # tls (from the first byte) or starttls.
|
||||
# MAIL_INGEST_IMAP_USER= # IMAP login.
|
||||
# MAIL_INGEST_IMAP_PASS= # IMAP password.
|
||||
# MAIL_INGEST_IMAP_MAILBOX=INBOX # The folder the mails arrive in. Read mails move on to TREK/processed and are never deleted.
|
||||
# MAIL_INGEST_ADDRESS_TEMPLATE=trek+{token}@example.com # The forwarding address; each person's token stands where {token} stands.
|
||||
# MAIL_INGEST_WEBHOOK_SECRET= # The key the webhook sender signs each mail with (HMAC-SHA256), at least 32 characters.
|
||||
|
||||
# WEBAUTHN_RP_ID=trek.example.com # The domain passkeys are bound to. Overrides the setting in the admin panel; unset, it comes from the hostname of APP_URL. An IP address is refused.
|
||||
# WEBAUTHN_ORIGINS=https://trek.example.com # Comma-separated origins allowed for passkey sign-in. Overrides the setting in the admin panel; unset, the origin of APP_URL is used.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user