Skip to content

Commit

Permalink
Don't enable smtputf8 when running on alpine on container restart (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
envy authored Jan 30, 2025
1 parent 0286619 commit 0a8e84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a8e84b

Please sign in to comment.