parsimony/parsimony.example.yaml
tgiachi 064e8beed8 fix(security): LMTP allow list and a warning for an open LMTP port
- Add lmtp.allow: clients outside the list are dropped before the greeting (TCP only)
- Validate the list at load, naming the bad entry
- Warn at startup when LMTP is reachable beyond the machine and no list is set
- Stop publishing the LMTP port in the README and the example config; add Security notes
2026-11-09 20:20:35 +01:00

20 lines
742 B
YAML

db: /data/parsimony.db
base_url: https://lists.example.org
lmtp:
network: tcp
addr: 0.0.0.0:2424
allow: [172.16.0.0/12] # LMTP has no authentication: list who may connect (here: the Docker networks)
relay:
addr: postfix:25
concurrency: 4 # simultaneous deliveries
web:
listen: 0.0.0.0:8081 # public archive and unsubscribe pages; "" disables them
api:
listen: 0.0.0.0:8080
# The API token is read from the PARSIMONY_API_TOKEN environment variable.
# Sign outgoing mail with DKIM, one key per domain. The private key stays in a file
# (create it with: parsimony dkim keygen lists.example.org --selector mail).
# dkim:
# - domain: lists.example.org
# selector: mail
# key_file: /etc/parsimony/dkim-lists.pem