On 4/19/19 6:33 PM, kevin@coastalaska.org wrote:
We have a couple of people trying to subscribe to our list but receive an error similar to: {"title": "409 Conflict", "description": "Subscription request already pending"}
If I try to Mass Subscribe them in Postorius I get this error: HTTP Error 409: b'{"title": "409 Conflict", "description": "Subscription request already pending"}'
In Postorius I don't see them hung up in Subscription requests.
Postorius since 1.2.3 does not show subscription requests waiting user confirmation, only those waiting moderator approval.
Thus, if the list's subscription policy is confirm or confirm then moderate, the subscribing user will be sent an email requesting confirmation. If the user hasn't answered that email, the request is pending user confirmation, and since 1.2.3, you won't see it in Postorius. [Update: this is fixed in 1.2.4]
What to do?
have the user find the confirmation request email and confirm, or
wait for the request to expire (default 3 days)
using mailman shell or the REST api or direct interaction with the database, find the token and confirm it. A shell example is
mailman shell -l your.list.id
Welcome to the GNU Mailman shell
The variable 'm' is the your.list.id mailing list
>>> util = getUtility(IPendings)
>>> list(util.find(mlist=m,pend_type='subscription'))
This returns a list of items like ('hex_token'), {'token_owner': 'subscriber', 'email': 'user@example.com', 'display_name': 'Jane User', 'when': '2019-04-09T01:26:08', 'type': 'subscription', 'list_id': 'your.list.id'})
You then do
>>> util.confirm('hex_token')
Note that https://gitlab.com/mailman/postorius/issues/314 which was responsible for removing the subs waiting user confirmation from the Postorius listing suggested "there could be a different place to see the ones pending user approval, so that a moderator can look and/or delete those.", but that hasn't been done. [Update: this is fixed in 1.2.4]
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan