mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
e3331b0f44
* feat: add support for MTA-STS for outgoing mails * Hook-up mta-sts-daemon into basic process handling test * fix: Call python script directly The python3 shebang will run it, which will now meet the expectations of the process testing via pgrep. fail2ban has the same approach. --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
8 lines
221 B
Bash
8 lines
221 B
Bash
#!/bin/bash
|
|
|
|
|
|
function _setup_mta_sts() {
|
|
_log 'trace' 'Adding MTA-STS lookup to the Postfix TLS policy map'
|
|
_add_to_or_update_postfix_main smtp_tls_policy_maps 'socketmap:unix:/var/run/mta-sts/daemon.sock:postfix'
|
|
}
|