From 39250ca3d0cb89d1e2f76844e33d85f1671fe4b1 Mon Sep 17 00:00:00 2001 From: Patrik Kernstock Date: Thu, 25 Jul 2019 21:49:30 +0200 Subject: [PATCH] Added charset for watchdog mails Added charset parameter to get rid of the negative rating of rspamd R_MISSING_CHARSET (2.5). --- data/Dockerfiles/watchdog/watchdog.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/data/Dockerfiles/watchdog/watchdog.sh b/data/Dockerfiles/watchdog/watchdog.sh index 8f43e8b0..0f329a3d 100755 --- a/data/Dockerfiles/watchdog/watchdog.sh +++ b/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} \