From 9cae35b49f29622d0267cebde79ea1e032ef4012 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 31 Mar 2021 15:19:50 +0200 Subject: Disabling to send emails by default as netdata sends a lot of mails otherwise using a (by default) unconfigured mailsetup. Signed-off-by: Daniel Baumann --- debian/patches/progress-linux/0001-send-email.patch | 15 +++++++++++++++ debian/patches/series | 1 + 2 files changed, 16 insertions(+) create mode 100644 debian/patches/progress-linux/0001-send-email.patch diff --git a/debian/patches/progress-linux/0001-send-email.patch b/debian/patches/progress-linux/0001-send-email.patch new file mode 100644 index 000000000..1614c4622 --- /dev/null +++ b/debian/patches/progress-linux/0001-send-email.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann +Description: Disabling to send emails by default. + +diff -Naurp netdata.orig/health/notifications/health_alarm_notify.conf netdata/health/notifications/health_alarm_notify.conf +--- netdata.orig/health/notifications/health_alarm_notify.conf ++++ netdata/health/notifications/health_alarm_notify.conf +@@ -199,7 +199,7 @@ sendsms="" + EMAIL_SENDER="" + + # enable/disable sending emails +-SEND_EMAIL="YES" ++SEND_EMAIL="NO" + + # if a role recipient is not configured, an email will be send to: + DEFAULT_RECIPIENT_EMAIL="root" diff --git a/debian/patches/series b/debian/patches/series index 30c81f16d..2f1a8df93 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ debian/0003-use-python3.patch debian/0005-use-bash.patch upstream/0001-allow-symlinks.patch upstream/0002-fix-FTCBFS.patch +progress-linux/0001-send-email.patch -- cgit v1.2.3