mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-07 23:14:39 +08:00
fix: STARTTLS command not implemented
STARTTLS command is not implemented because TLS is enabled on the outgoing instead of the incoming traffic. smtp in smtp_use_tls needs to be replaced by smtpd
This commit is contained in:
parent
a6bbe7ba17
commit
39391ad5e0
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ data:
|
|||
_enable_tls.sh: |
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
do_postconf -e 'smtp_use_tls=yes'
|
||||
do_postconf -e 'smtp_tls_note_starttls_offer=yes'
|
||||
do_postconf -e 'smtpd_use_tls=yes'
|
||||
do_postconf -e 'smtpd_tls_note_starttls_offer=yes'
|
||||
do_postconf -e 'smtpd_tls_cert_file=/var/run/certs/tls.crt'
|
||||
do_postconf -e 'smtpd_tls_key_file=/var/run/certs/tls.key'
|
||||
{{- end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue