On 3/6/26 02:43, Lars Bjørndal wrote:
Hi, list!
I have an announce only Mailman3 list. When I log into the web interface as an admin user, and go to the specified list, and choose Settings, I find the Message Acceptance tab. There, I find the edit field Accept these non-members. But this field is empty, although I know that some people have permissions and are able to post to this list. How can I find the list of these non-members and add more people or delete someone?
I'm running Mailman version 3.3.10, and mailman-web version 4.2.21.
I don't know what mailman-web version 4.2.21 is. Is this some downstream package?
These are nonmembers whose moderation action is accept or defer. If your Postorius is >= 1.3.6, and the number of nonmembers is manageable you can just view the nonmembers list in Postorius and see their moderation action.
Otherwise a mailman shell interaction like
$ mailman shell -l list.example.com
Welcome to the GNU Mailman shell
Use commit() to commit changes.
Use abort() to discard changes since the last commit.
Exit with ctrl+D does an implicit commit() but exit() does not.
The variable 'm' is the list.example.com mailing list
>>> for nm in m.nonmembers.members:
... if nm.moderation_action in (Action.accept, Action.defer):
... print(f'{nm} {nm.moderation_action}')
...
>>>
will print those nonmembers with Action.accept or Action.defer.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan