Mark Sapiro wrote:
On 2/25/26 2:43 PM, Ibiam Chihurumnaya via Mailman-users wrote:
I need to set some nonmembers to a list as these members send message to the list, but don't need to receive any message from the list. I've used list_name.settings['accept_these_nonmembers'].append to add members to the list, but it gets discarded once I run list_name.settings.save().
accept_these_nonmembers is a list hence the append, I didn't add the argument to append, maybe that's what caused the confusion.
I don't understand what you are doing. The above makes no sense to me. Please provide more detail on exactly what it is you are doing. However, accept_these_nonmembersis an artifact from Mailman 2.1 and only exists in Mailman 3 to support patterns as opposed to individual email addresses. In Mailman 3, there are two ways to accomplish this. One way is to subscribe the user as a member and set the member's delivery to disabled. The other way is to add the user as a nonmember and set the nonmember's moderation_action to default processing.
I had done the members part in the past, but the issue with it was I wanted certain members to not receive messages from the list, but only send to the list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan