Red Hat Bugzilla – Bug 1468211
RFE: add default for discard_these_nonmembers
Last modified: 2017-07-10 03:54:49 EDT
Description of problem:
We would like to set a default for "discard_these_nonmembers" for newly created mailing lists (to black list our spamreporting tool per default).
Version-Release number of selected component (if applicable):
How to enhance:
dvm-infk-dco03:/usr/lib/mailman/Mailman# diff -Nu /usr/lib/mailman/Mailman/MailList.py.bak /usr/lib/mailman/Mailman/MailList.py
--- /usr/lib/mailman/Mailman/MailList.py.bak 2017-07-06 12:31:14.381658045 +0200
+++ /usr/lib/mailman/Mailman/MailList.py 2017-07-06 12:32:31.830175041 +0200
@@ -394,7 +394,7 @@
self.accept_these_nonmembers = 
self.hold_these_nonmembers = 
self.reject_these_nonmembers = 
- self.discard_these_nonmembers = 
+ self.discard_these_nonmembers = mm_cfg.DEFAULT_DISCARD_THESE_NONMEMBERS
self.forward_auto_discards = mm_cfg.DEFAULT_FORWARD_AUTO_DISCARDS
self.generic_nonmember_action = mm_cfg.DEFAULT_GENERIC_NONMEMBER_ACTION
self.nonmember_rejection_notice = ''
idvm-infk-dco03:/usr/lib/mailman/Mailman# diff -Nu /usr/lib/mailman/Mailman/versions.py.bak /usr/lib/mailman/Mailman/versions.py
--- /usr/lib/mailman/Mailman/versions.py.bak 2017-07-06 12:32:42.326246813 +0200
+++ /usr/lib/mailman/Mailman/versions.py 2017-07-06 12:33:21.181505888 +0200
@@ -111,7 +111,7 @@
if not hasattr(l, 'reject_these_nonmembers'):
l.reject_these_nonmembers = 
if not hasattr(l, 'discard_these_nonmembers'):
- l.discard_these_nonmembers = 
+ l.discard_these_nonmembers = mm_cfg.DEFAULT_DISCARD_THESE_NONMEMBERS
if not hasattr(l, 'forward_auto_discards'):
l.forward_auto_discards = mm_cfg.DEFAULT_FORWARD_AUTO_DISCARDS
if not hasattr(l, 'generic_nonmember_action'):
idvm-infk-dco03:/usr/lib/mailman/Mailman# diff -Nu /usr/lib/mailman/Mailman/Defaults.py.bak /usr/lib/mailman/Mailman/Defaults.py
--- /usr/lib/mailman/Mailman/Defaults.py.bak 2017-07-06 12:55:13.373199953 +0200
+++ /usr/lib/mailman/Mailman/Defaults.py 2017-07-06 12:56:57.917881124 +0200
@@ -915,6 +915,9 @@
DEFAULT_FORWARD_AUTO_DISCARDS = Yes
+# List of nonmembers to be discarded automatically. Can be changed via web/config_list later on
+DEFAULT_DISCARD_THESE_NONMEMBERS = 
# Shall dmarc_moderation_action be applied to messages From: domains with
# a DMARC policy of quarantine as well as reject? This sets the default for
# the list setting that controls it.
I have requested at https://bugs.launchpad.net/mailman/+bug/1702664 (which I hope is upstream)
Thank you for taking the time to report this issue to us. We appreciate the feedback and use reports such as this one to guide our efforts at improving our products. That being said, this bug tracking system is not a mechanism for requesting support, and we are not able to guarantee the timeliness or suitability of a resolution.
If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution.
For information on how to contact the Red Hat production support team, please visit:
Red Hat Enterprise Linux 6 transitioned to the Production 3 Phase on May 10, 2017. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
This issue does not appear to meet the inclusion criteria for the Production Phase 3 and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL: