On 6/17/22 12:19, Dan Caballero wrote:
Thanks very much for the guidance. I ran the code and received the output for the list but after a commit and exit the members still weren't subscribed.
That's expected. The process I posted only removes the pending request so a subsequent subscribe can succeed.
I then ran mailman syncmembers using a list I had. That was able to complete this time and make all the necessary additions.
I'm going to see about making a wrapper script for future use. Thank you again.
For Mailman core >=3.3.5 this should not be an issue. The underlying issue is https://gitlab.com/mailman/mailman/-/issues/729 which is fixed in 3.3.5. Now pending subscription confirmations expire after the configured pending_request_life (default 3 days) so they shouldn't hang around virtually for ever.
I just added some sample scripts to https://www.msapiro.net/scripts/. The script at https://www.msapiro.net/scripts/delete_orphans_expireds.py will delete subscriptions pending user confirmation that are older than the current pending_request_life.
-- Mark Sapiro email@example.com The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan