summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 13:19:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-17 17:53:11 +0000
commit9cae35b49f29622d0267cebde79ea1e032ef4012 (patch)
tree4ebb03689107aedab8b1411255f62a7b8f3b5775
parentUpdating to standards version 4.6.2. (diff)
downloadnetdata-9cae35b49f29622d0267cebde79ea1e032ef4012.tar.xz
netdata-9cae35b49f29622d0267cebde79ea1e032ef4012.zip
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 <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-send-email.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org>
+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