parsimony/parsimony.example.yaml
tgiachi adeae3f451 feat(app): pass relay.rate_per_second to the queue worker
- one line of wiring, a commented example in parsimony.example.yaml
- tests: with a rate of 20/s eight deliveries to a sink take at least 350 ms, without a rate they are not paced
2026-11-10 12:37:15 +01:00

26 lines
1 KiB
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
# To send through an external relay (SES, Mailgun, a smarthost) instead:
# addr: smtp.example.com:587
# tls: starttls
# username: user
# password_file: /run/secrets/relay-password
concurrency: 4 # simultaneous deliveries
# rate_per_second: 14 # at most this many sends started per second, for relays that throttle (Amazon SES); 0 = unlimited
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