On 11/9/20 9:54 AM, Andy Cravens wrote:
> Unless I can find a place to set a regex for a domain to automatically accept
> posts from members, I will stick to manually setting the “mod” checkbox for
> all members.
There is no such setting. If you have the ability to patch the code,
it's a two line patch:
--- Mailman/Handlers/Moderate.py 2018-06-17 23:47:34 +0000
+++ Mailman/Handlers/Moderate.py 2020-11-10 04:24:49 +0000
@@ -63,6 +63,8 @@
else:
sender = None
if sender:
+ if re.search('your_regex', sender):
+ return
# If the member's moderation flag is on, then perform the
moderation
# action.
if mlist.getMemberOption(sender, mm_cfg.Moderate):
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/[email protected]/
https://mail.python.org/archives/list/[email protected]/