
On 4/7/25 02:30, MegaBrutal via Mailman-users wrote:
On Mon, Apr 7, 2025, 03:04 Mark Sapiro <mark@msapiro.net> wrote:
so it is saying there is only one choice for sender which I think means there is only one address associated with your login. That still doesn't explain why it thinks you're not a list member.
Indeed, it doesn't explain. Are there any maintenance scripts or DB queries you recommend to run to get to see what's happening under the hood?
Not offhand.
What is the exact email address that you are logging on to the web UI with. Does it match exactly with the address of a list member or are there mixed-case differences? You might try an interaction like this:
mailman-web shell
Python 3.12.8 (main, Dec 21 2024, 12:52:28) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from django_mailman3.lib.mailman import get_mailman_client
>>> client = get_mailman_client()
>>> list_id = 'test.example.com' # your actual list_id
>>> rest_list = client.get_list(list_id)
>>> email = 'user@example.com' # your actual email
>>> member = rest_list.get_member(email)
>>> member
This should print something like
<Member 'user@example.com' on 'test.example.com' with role 'member'>
This is exactly what HyperKitty is doing except in your case rest_list.get_member(email) is throwing a ValueError exception instead of returning the member.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan