[pmg-devel] [PATCH pmg-gui 1/1] Add ndr_on_block and before_queue options

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


Generation of NDRs on block and before queue filtering are configured
via 2 boolean flags and belong to the MailProxyOptions.

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 js/MailProxyOptions.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/js/MailProxyOptions.js b/js/MailProxyOptions.js
index eb080ec..975a5c6 100644
--- a/js/MailProxyOptions.js
+++ b/js/MailProxyOptions.js
@@ -69,6 +69,10 @@ Ext.define('PMG.MailProxyOptions', {
 			{ deleteEmpty: true, defaultValue: 'ESMTP Proxmox' });
 	/*jslint confusion: false*/
 
+	me.add_boolean_row('ndr_on_block', gettext('Send NDR on Blocked E-Mails'));
+
+	me.add_boolean_row('before_queue_filtering', gettext('Before Queue Filtering'));
+
 	var baseurl = '/config/mail';
 
 	me.selModel = Ext.create('Ext.selection.RowModel', {});
-- 
2.20.1




More information about the pmg-devel mailing list