Thanks,
Le 28 avr. 2022 à 15:17, Stephen J. Turnbull <stephenjturnbull@gmail.com> a écrit :
Pierre Malard via Mailman-users writes:
We must add some (a lot) alias address for members and I don’t find any indications on doc to do that with « mailman » command.
I have no idea what you mean by an "alias address" that can be added for many members simultaneously. There is no concept of "alias" in Mailman, and almost certainly no special command for this.
These are authorized alternate email addresses. For example A@domain is subscribed to the Z list of which only members can contribute but we also want to authorize some other address of A (A@domain2, …) as an « alternative" email contributor. In the Mailman2 version this was called "accept_these_nonmembers" and it actually got added to that "non-members" list in mailman3.
The general way to add a lot of addresses for a single list is the mass add command in Postorius's users tab, or an equivalent script using mailmanclient. If you need to do this at the user level (rather than the subscription level), you will need to write a script for it, and also to update subscriptions if that is what you have in mind.
We would like to be able to add these "non-members" addresses with the "mailman" command line, indicating the assigned "role". But, obviously, the only available option managing the role is provided by "mailman members" which declares itself obsolete! :-( As far as the Python mailman libraries are concerned, we lack documentation. For example the possible parameters… Otherwise, working directly in the database seems dangerous to us.
Steve
-- Pierre Malard « Je n'ai jamais séparé la République des idées de justice sociale, sans laquelle elle n'est qu'un mot » Jean Jaures - 1887 |\ _,,,---,,_ /,`.-'`' -. ;-;;,_ |,4- ) )-,_. ,\ ( `'-' '---''(_/--' `-'\_) πr perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-. ;-;;,_: |,A- ) )-,_. ,\ ( `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"' `-'"'"'\_): 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print' - --> Ce message n’engage que son auteur <-- ___________________________________________ Mailman's content filtering has removed the following MIME parts from this message. Replaced multipart/alternative part with first alternative.