fix outgoing smtp configuration in postfix.sh

This commit is contained in:
Philipp Dreimann 2025-10-29 21:40:39 +01:00
parent de7e26f829
commit 886eef8a37

View file

@ -498,7 +498,7 @@ echo >> /opt/postfix/conf/master.cf
# Append IPv6 SMTP override if needed
if [[ "${DISABLE_IPV6_SMTP_SENDING}" == "true" ]]; then
echo -e "\n# IPv6 SMTP Override" >> /opt/postfix/conf/master.cf
echo "smtp unix - - n - - smtp" >> /opt/postfix/conf/master.cf
echo "smtp inet n - n - 1 postscreen" >> /opt/postfix/conf/master.cf
echo " -o inet_protocols=ipv4" >> /opt/postfix/conf/master.cf
fi