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 <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/XNOOF57N2GOCKRKBSSNTVUKLX36MGLVK/
This message sent to [email protected]