Mark Sapiro <m...@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 = 'u...@example.com'   # your actual email
>  >>> member = rest_list.get_member(email)
>  >>> member
> This should print something like
> <Member 'u...@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 'megabru...@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?
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@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/XWMZVYKNNN726GNTPSEOSHDG6TT5KNJM/

This message sent to arch...@mail-archive.com

Reply via email to