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:
Netexpertise 2023-09-15 12:40:07 +02:00 committed by GitHub
parent a6bbe7ba17
commit 39391ad5e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}