From 83df531b00d81dced42412e836273173417dcc02 Mon Sep 17 00:00:00 2001 From: Julian Rother Date: Fri, 28 Jan 2022 22:57:08 +0100 Subject: [PATCH] Disable all error reports to postmaster@ These error report mails sometimes contain passwords or other confidential information. This is by design (see postconf(5)) and enabled per default. This is a very bad idea. --- templates/main.cf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/main.cf.j2 b/templates/main.cf.j2 index 7959444..606af95 100644 --- a/templates/main.cf.j2 +++ b/templates/main.cf.j2 @@ -136,3 +136,7 @@ milter_default_action = accept smtpd_milters = {{ ' '.join(postfix.smtpd_milters) }} non_smtpd_milters = {{ ' '.join(postfix.non_smtpd_milters) }} + +# Disable all error reports to postmaster@, because they sometimes contain +# passwords or other confidential information +notify_classes =