On 12/18/21 10:57 AM, Russell Clemings wrote:
Just to confirm I'm not missing something, am I correct that there is no
way (other than patching) in Mailman 2.1.37 to automatically reject posts
that trigger the require_explicit_destination or max_num_recipients limits?
You are correct. You would need to patch Mailman/Handlers/Hold.py or, if
you wanted to do this in a way that didn't involve patching distributed
code, you could create a custom handler (see
https://wiki.list.org/x/4030615) to do the rejection and put it in the
pipeline before Hold or create a patched version of Hold.py and replace
Hold in the pipeline with the modified (and renamed) Hold.py. These
latter methods only require adding a file in Mailman/Handlers/ and
adding things in mm_cfg.py.
--
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
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/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/