
April 8, 2025
12:45 a.m.
Mark Sapiro <mark@msapiro.net> ezt írta (időpont: 2025. ápr. 7., H, 19:23):
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.
I get: <Member 'megabrutal@gmail.com' on 'the.correct.list.address' with role 'member'>
So it's even weirder – however, I'm really not sure if this is the address HyperKitty is checking for, as I have 3 attached to my account! How may I know which one it's trying to use?