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
This commit is contained in:
parent
7ba07501c3
commit
064e8beed8
1 changed files with 244 additions and 4 deletions
|
|
@ -3,6 +3,7 @@ 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue