From 19e0d586f90bdd19e625a2e3f6c13cc6e16117f6 Mon Sep 17 00:00:00 2001 From: Nico Weichbrodt Date: Mon, 27 Jan 2025 11:31:25 +0100 Subject: [PATCH] Don't enable smtputf8 when running on alpine on container restart --- scripts/common-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common-run.sh b/scripts/common-run.sh index 9705882..b065a16 100755 --- a/scripts/common-run.sh +++ b/scripts/common-run.sh @@ -258,7 +258,7 @@ postfix_disable_utf8() { if [[ -f /etc/alpine-release ]] && [[ "${smtputf8_enable}" == "yes" ]]; then debug "Running on Alpine. Setting ${emphasis}smtputf8_enable${reset}=${emphasis}no${reset}, as Alpine does not have proper libraries to handle UTF-8" do_postconf -e smtputf8_enable=no - elif [[ "${smtputf8_enable}" == "no" ]]; then + elif [[ ! -f /etc/alpine-release ]] && [[ "${smtputf8_enable}" == "no" ]]; then debug "Running on non-Alpine system. Setting ${emphasis}smtputf8_enable${reset}=${emphasis}yes${reset}." do_postconf -e smtputf8_enable=yes fi