From 8a441dd77a18fa214fb43bcfd79ab945694541ae Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 23 May 2020 11:16:13 +0200 Subject: [PATCH] [Watchdog] Send mails with priority 1 --- data/Dockerfiles/watchdog/watchdog.sh | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/watchdog/watchdog.sh b/data/Dockerfiles/watchdog/watchdog.sh index 17acf56f..acad52df 100755 --- a/data/Dockerfiles/watchdog/watchdog.sh +++ b/data/Dockerfiles/watchdog/watchdog.sh @@ -113,6 +113,7 @@ function mail_error() { --charset=UTF-8 \ --subject="${SUBJECT}" \ --body-plain="${BODY}" \ + --add-header="X-Priority: 1" \ --to=${rcpt} \ --from="watchdog@${MAILCOW_HOSTNAME}" \ --hello-host=${MAILCOW_HOSTNAME} \ diff --git a/docker-compose.yml b/docker-compose.yml index fc635718..2619ced9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -396,7 +396,7 @@ services: - /lib/modules:/lib/modules:ro watchdog-mailcow: - image: mailcow/watchdog:1.76 + image: mailcow/watchdog:1.77 # Debug #command: /watchdog.sh dns: