Просмотр исходного кода

Added charset for watchdog mails

Added charset parameter to get rid of the negative rating of rspamd R_MISSING_CHARSET (2.5).
Patrik Kernstock 6 лет назад
Родитель
Сommit
39250ca3d0
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      data/Dockerfiles/watchdog/watchdog.sh

+ 1 - 0
data/Dockerfiles/watchdog/watchdog.sh

@@ -77,6 +77,7 @@ function mail_error() {
     fi
     [ -f "/tmp/${1}" ] && BODY="/tmp/${1}"
     ./smtp-cli --missing-modules-ok \
+      --charset=UTF-8 \
       --subject="${SUBJECT}" \
       --body-plain="${BODY}" \
       --to=${rcpt} \