On 6/16/20 1:28 AM, Alan So wrote:
Some of our users reported that their list do not honor the nonmembers moderation setting sometimes. We were not able to repeat the issue consistently earlier. Luckily, we found the following way to repeat the issue:
- Create a new list with user@example.com as owner. (Ordinary disussion mailing list style)
- Change the list Settings -> Message Acceptance -> Default action to take when a non-member posts to the list: Discard
- Add a non-member user@example.com and change the moderation setting to Hold for Moderation
- Send an email to the list using user@example.com.
The message is discarded instead of being held. The above can also be repeated with the list setting Default action to take when a non-member posts to the list: Accept immediately. The message sent from user@example.com is accepted instead of being held. So, it looks like that the non-members moderation setting is ignored for this case.
Further study indicate that the issue did not happen if the owner is set to user@example.com *after* adding the non-member. It looks like that we can avoid the issue during list creation. However, the issue can also be triggered through other ways such as adding the non-member as member and remove. There are also ways to resolve the issue by removing all corresponding member, non-member, owner setting and add them back in the following order: non-member, owner. However, it does not always work and so I do not go into the detail at this moment to complicate the issue.
This is a known issue. See <https://gitlab.com/mailman/mailman/-/issues/659#note_270261964>.
When the same user/address has both non-member and owner roles, setting moderation for the non-member in Postorius actually sets moderation for the owner which is meaningless because the owner role is never checked for moderation.
Since the reference above is obscure, I have created https://gitlab.com/mailman/postorius/-/issues/436 for this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan