Running Mailman 3.3.8 with docker.
Since we migrate some lists from mailman2 to 3, there are a lot of new users/subscribers and an admin made the mistake to not checkbox the 3. option that the users don't need to verify their address.
Now we have a long list of pending confirmations in different lists. Is there an easy way in the shell to mass remove these pending mailaddresses so that we don't have to do that one by one? That would be awsome.
Regards, Jens.
It's been a while since I saw Abhilash post here. @Abhilash Raj <maxking@asynchronous.in> how's it going in Bengaluru? Please come back.
On Mon, May 22, 2023, 23:48 Jens Günther <jens.guenther@posteo.de> wrote:
Running Mailman 3.3.8 with docker.
Since we migrate some lists from mailman2 to 3, there are a lot of new users/subscribers and an admin made the mistake to not checkbox the 3. option that the users don't need to verify their address.
Now we have a long list of pending confirmations in different lists. Is there an easy way in the shell to mass remove these pending mailaddresses so that we don't have to do that one by one? That would be awsome.
Regards, Jens.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@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/...
This message sent to odhiambo@gmail.com
Thanks for your ping after reading docker. But actually I don't think this is related :-D hope also somebody else knows a way. Thanks in advance.
Am 22.05.23 um 23:06 schrieb Odhiambo Washington:
It's been a while since I saw Abhilash post here. @Abhilash Raj <mailto:maxking@asynchronous.in> how's it going in Bengaluru? Please come back.
On 5/22/23 13:46, Jens Günther wrote:
Since we migrate some lists from mailman2 to 3, there are a lot of new users/subscribers and an admin made the mistake to not checkbox the 3. option that the users don't need to verify their address.
Are these newly added users since the migration? If you migrate a list
with the mailman import21
the users of the MM 2.1 list will be
imported and there won't be confirmations.
Now we have a long list of pending confirmations in different lists. Is there an easy way in the shell to mass remove these pending mailaddresses so that we don't have to do that one by one? That would be awsome.
Do you want to remove them or confirm them. If you just remove them, the user's addresses will still be unconfirmed.
If you just want to remove them so you can redo the mass subscribes, you
could do something like the following in mailman shell
>>> pendings = getUtility(IPendings)
>>> for token, data in pendings.find(
token_owner=TokenOwner.subscriber,
pend_type='subscription'):
... pendings.confirm(token, expunge=True)
...
>>> commit()
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi Mark,
thanks for your help. So I used your advice in the mailman shell, and get a list of all pending users. As I understand the script correctly, it doesn't change anything, it just finds the pending ones.
What is the other clue, how to remove/discard them? I can't use the mass removal, neither does the mass subscribe work (HTTP Error 409: Subscription request already pending).
Our goal is to confirm them, actually. We just want to get rid of the pending status as easy as possible without using the "discard" button one by one.
Thanks
Hey, I think it worked. Actually all pending confirmations are deleted now, I can't find any.
If I read the script correctly, the "expunge=True" removes them.
Thank you very much! That helped a lot.
Am 23.05.23 um 07:45 schrieb Paul Paulchen:
Hi Mark,
thanks for your help. So I used your advice in the mailman shell, and get a list of all pending users. As I understand the script correctly, it doesn't change anything, it just finds the pending ones.
What is the other clue, how to remove/discard them? I can't use the mass removal, neither does the mass subscribe work (HTTP Error 409: Subscription request already pending).
Our goal is to confirm them, actually. We just want to get rid of the pending status as easy as possible without using the "discard" button one by one.
Thanks
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@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/...
This message sent to jens.guenther@posteo.de
Teilnehmer (4)
-
Jens Günther
-
Mark Sapiro
-
Odhiambo Washington
-
Paul Paulchen