On Sun, Feb 04 2018, Simon Hanna wrote:
You should be able to use mailmanclient to get a list of subscribers with names.
It seems, that mailmanclient does not know about the real name (the first name and the last name in Django). But this seems to work:
from django.contrib.auth.models import User user = User.objects.get(email='address@of.user') print(user.first_name) print(user.last_name)
So, I'll try to make some loop over a list with email addresses, that I can get on the web interface.
Names are optional though, if people signup without them you won't be able to get them.
My usage of mailman is perhaps a bit special: users can't sign up, only the site owner signs up manually with create_user(email=, first_name=...) Then the site owner creates the mailing lists and uses mass subscription (for example all members of a basketball team). At one moment, the list of subscribers should be verified by all members, just to be sure, that nobody got forgotten.
Currently there is no option to require names. I'll open an issue in postorius about showing the name in the member list if there is one associated.
Thanks. It would be nice, to see the first_name and the last_name of the django-auth user object.
IIRC one person(postorius account) can also signup at different lists using different names (regardless of address).
You mean the "display_name" of mailmanclient here? I won't use it. For my usage, I prefer a clear association of email, first name and last name in one account, no need for "display_name" here.
There was some discussion about names and potentially using the from header to populate the database but I don't remember the result...
Nice idea, especially for the normal use case, the public mailing list (but not for mine).
Off topic: I have "Receive own postings = Yes", but I don't receive copies of my postings to this list...
Kind regards,
Peter