Added charset for watchdog mails

Added charset parameter to get rid of the negative rating of rspamd R_MISSING_CHARSET (2.5).
master
Patrik Kernstock 2019-07-25 21:49:30 +02:00 committed by GitHub
parent 85f20a901d
commit 39250ca3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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