mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-03-04 02:23:09 +08:00
Don't enable smtputf8 when running on alpine on container restart (#224)
This commit is contained in:
parent
0286619ef2
commit
0a8e84b855
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue