Files
lasuite-messages/deploy/env/mta-in-py.defaults
T
Sylvain Zimmerandjbpenrath f4d235825f ⚡️(devx) improve "make bootstrap" setup time and overall DevX
Notably, we try to reduce disk usage by standardizind on common
base Docker images. We also improve node_modules by reducing
duplicate dependencies and install speed.
2026-07-22 11:34:27 +02:00

35 lines
1.1 KiB
Plaintext

# Defaults for the pure-Python (aiosmtpd) inbound MTA. The Postfix-based
# `mta-in` service does not consume these.
# PYMTA_HOSTNAME is intentionally left unset so the shared MYHOSTNAME env
# wins (matching the Postfix variant). Set explicitly to override.
PYMTA_SMTP_HOST=0.0.0.0
PYMTA_SMTP_PORT=25
PYMTA_METRICS_HOST=0.0.0.0
PYMTA_METRICS_PORT=9100
PYMTA_LOG_LEVEL=INFO
# Match the existing Postfix dev config: per-IP cap off (the dev/test load
# all comes from loopback), large global cap for `test_connection_limits`.
PYMTA_MAX_SESSIONS_PER_IP=0
PYMTA_MAX_SESSIONS_TOTAL=2000
# Inbound limits.
PYMTA_MAX_RECIPIENTS=100
PYMTA_MAX_ENVELOPES_PER_CONNECTION=20
# Timeouts (seconds).
PYMTA_COMMAND_TIMEOUT=120
PYMTA_DATA_TIMEOUT=600
# STARTTLS off by default in dev (no cert wired).
PYMTA_TLS_CERT_FILE=
PYMTA_TLS_KEY_FILE=
# SMTPUTF8 advertised — the MDA accepts UTF-8 envelope addresses.
PYMTA_ENABLE_SMTPUTF8=true
# PROXY protocol off in dev. In production set ENABLE_PROXY_PROTOCOL=haproxy
# (same env var the Postfix entrypoint already consumes) when behind HAProxy.
PYMTA_ENABLE_PROXY_PROTOCOL=false