Message shunted when from is equals to maillist address
When I have:
To: list1@mydomain.com From: list1@mydomain.com
Mailman shunts the message with:
Apr 04 14:13:52 2022 (3486) Uncaught runner exception: sender didn't get subscribed as a nonmember
Apr 04 14:13:52 2022 (3486) Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/mailman/core/runner.py", line 173, in _one_iteration
self._process_one_file(msg, msgdata)
File "/usr/lib/python3.6/site-packages/mailman/core/runner.py", line 266, in _process_one_file
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/python3.6/site-packages/mailman/runners/incoming.py", line 79, in _dispose
process(mlist, msg, msgdata, start_chain)
File "/usr/lib/python3.6/site-packages/mailman/core/chains.py", line 57, in process
if link.rule.check(mlist, msg, msgdata):
File "/usr/lib/python3.6/site-packages/mailman/rules/moderation.py", line 152, in check
"sender didn't get subscribed as a nonmember".format(sender))
AssertionError: sender didn't get subscribed as a nonmember
I'm not sure mailman should accept (or not) such messages but shunting them does not seem to be the right action.
BTW, the sender mentioned in the .format() is not used in the message. I would also include some list identification.
GNU Mailman 3.3.0 (La Villa Strangiato) SLES 15SP3