[pmg-devel] [PATCH pmg-api 1/1] Config: Add 'ndr_on_block' to $pmg_service_params

Stoiko Ivanov s.ivanov at proxmox.com
Fri Nov 15 11:41:15 CET 2019


The ndr_generation happens inside pmg-smtp-filter, so a change to that setting
should trigger a reload of pmg-smtp-filter.

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 src/PMG/Config.pm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/PMG/Config.pm b/src/PMG/Config.pm
index ed4a665..30d7e6c 100755
--- a/src/PMG/Config.pm
+++ b/src/PMG/Config.pm
@@ -1598,7 +1598,10 @@ sub rewrite_config_postfix {
 
 #parameters affecting services w/o config-file (pmgpolicy, pmg-smtp-filter)
 my $pmg_service_params = {
-    mail => { hide_received => 1 },
+    mail => {
+	hide_received => 1,
+	ndr_on_block => 1,
+    },
     admin => {
 	dkim_selector => 1,
 	dkim_sign => 1,
-- 
2.20.1




More information about the pmg-devel mailing list