Importing mailman 2 shows member's "Moderation Action" = "Default processing". But new members show = "None". Why
I imported my mailing lists from mailman 2. If I view the Members, it say "Moderation Action" = "Default processing".
But when I now subscribe myself or other people to the list, and view the new Members, it say "Moderation Action" = "None" for them.
Should that be happening? The mailing list 's "Default action to take when a member posts to the list" setting is set to "Default processing".
Thanks. - Mark
On 5/25/23 10:59 AM, mrl@psfc.mit.edu wrote:
I imported my mailing lists from mailman 2. If I view the Members, it say "Moderation Action" = "Default processing".
But when I now subscribe myself or other people to the list, and view the new Members, it say "Moderation Action" = "None" for them.
Should that be happening? The mailing list 's "Default action to take when a member posts to the list" setting is set to "Default processing".
All of that is expected. import21 sets a members Moderation Action based on the Mailman 2.1 list settings and members moderation. New members get Moderation Action = None which means use the list default.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks. However, the list I imported, did have as it's default, to hold new members to be moderated. Therefore, shouldn't import21, set imported moderated members, to also be the list default?
On 5/25/23 6:48 PM, mrl@psfc.mit.edu wrote:
Thanks. However, the list I imported, did have as it's default, to hold new members to be moderated. Therefore, shouldn't import21, set imported moderated members, to also be the list default?
If the imported user's MM 2.1 mod bit is off, the user will be imported with moderation action = default processing which mimics MM 2.1's action for an unmoderated member. If the imported user's MM 2.1 mod bit is on, the user will be imported with moderation action set according to the MM 2.1 lists Privacy options... -> Sender filters -> member_moderation_action. The list's default_member_moderation together with member_moderation_action is used to set the MM 3 list's Default action to take when a member posts to the list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I've asked the wrong question. The correct question is that my MM2 imported mailing list, shows the setting "Default action to take when a member posts to the list" is set to "Hold for moderation".
However, when I add a user via Mass Subscription, and view the user in the member's list, it states "None" in the moderation column for him. Doesn't that imply, not to hold for moderation? Or am I wrong?
Note that when I look at the user's "Administration options Moderation" personal setting, it is set to "List Default." I assume that because the List's setting in the above first paragraph is "Hold for moderation", that this means the "List Default" is set for moderating. And that newly added email addresses should be moderated. Or am I wrong?
Hopefully, this time I've explained myself better. I'm sure there is a flow in logic. Thanks.
On 5/26/23 12:25 AM, mrl@psfc.mit.edu wrote:
I've asked the wrong question. The correct question is that my MM2 imported mailing list, shows the setting "Default action to take when a member posts to the list" is set to "Hold for moderation".
That is expected because your MM 2.1 list had member_moderation_action = Hold.
However, when I add a user via Mass Subscription, and view the user in the member's list, it states "None" in the moderation column for him. Doesn't that imply, not to hold for moderation? Or am I wrong?
No. That means apply the list's default.
Note that when I look at the user's "Administration options Moderation" personal setting, it is set to "List Default." I assume that because the List's setting in the above first paragraph is "Hold for moderation", that this means the "List Default" is set for moderating. And that newly added email addresses should be moderated. Or am I wrong?
Newly added users get their moderation action set to None. This means the same thing as the List Default you see as an admin looking at the user. If you set the user to something other than List Default and then set it back to List Default, the actual value set for the member's moderation_action is None. I.e., List Default is a more admin friendly way of displaying/setting None for the value.
Presumably, your MM 2.1 list had default_member_moderation = Yes and member_moderation_action = Hold and this mimics that behavior.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks for the detailed explanation! So "List Default" = "None". I'll have to explain to all my mailing lists owners.
They are used to MM2's behavior of showing all the settings for the person, and being able to change a person's setting using that member list
As an aside, Datatables would be really nice to use, to display member list. As that allows for immediate searching while typing in the search field. And for changes to take place immediately. And of course, column sorting. Although that requires a lot of work, and probably not many people like myself, use the member's list that often. FWIW.
On 5/26/23 11:44 AM, mrl@psfc.mit.edu wrote:
Thanks for the detailed explanation! So "List Default" = "None". I'll have to explain to all my mailing lists owners.
I just filed https://gitlab.com/mailman/postorius/-/issues/577 for this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks. Although IMHO I would prefer that the display show the actual action, and adding with a red asterisk to denote that it's the list default. It's a somewhat simple fix, although I've omitted the asterisk, because it's not important to me that it's the list default. Something like:
list.py mlist = List.objects.get_or_404(fqdn_listname=list_id) context['list_default'] = mlist.settings['default_member_action']
members.html {% if member.moderation_action|moderation_action == 'None' %} {{ list_default|moderation_action }} <<< add asterisk {% else %} {{ member.moderation_action | moderation_action }} {% endif %}
On 5/29/23 10:45, mrl@psfc.mit.edu wrote:
Thanks. Although IMHO I would prefer that the display show the actual action, and adding with a red asterisk to denote that it's the list default. It's a somewhat simple fix, although I've omitted the asterisk, because it's not important to me that it's the list default. Something like:
I plan no further changes beyond <https://gitlab.com/mailman/postorius/-/merge_requests/811>, but if you were to submit a merge request, we'd consider it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
mrl@psfc.mit.edu