* On 4/13/25 14:43, Mihai Moldovan wrote:
I can't seem to be able to add bans via mailman-shell:

What I haven't tested before, but should have done: I can, however, add new bans from Postorius (the web interface) and immediately query them via mailman-shell:

>>> for ban in bans:
...   print('{0}: {1}'.format(ban.list_id,ban.email))
...
x2go-commits.lists.x2go.org: x@y.z


Obviously, requests via Postorius also go through the REST API via a POST request, as I'd expect, and are immediately committed to the database (I've checked it by directly opening with SQLite3).


I'm quite stumped why the shell interface doesn't commit the data to the DB.

Unfortunately, the web interface doesn't allow mass-adding addresses, which is why I wanted to do that via the shell.



Mihai

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/624EA4KOHT2J33JXMLF6SXUZK6NUFRV4/

This message sent to arch...@mail-archive.com

Reply via email to