Question to add "alias" address in list by group
Everithing is in the subject. 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. Is their a way? -- Pierre Malard « Il faut créer en même temps les élites et les débouchés, le syndica- lisme et les usines. Faire l'un sans l'autre, c'est travailler pour le malheur du peuple. » Romain Gary - "Les racines du ciel" |\ _,,,---,,_ /,`.-'`' -. ;-;;,_ |,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.
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.
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.
Steve
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.
On 4/28/22 08:43, Pierre Malard via Mailman-users wrote:
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.
There is still an accept_these_nonmembers list in MM 3, but it is intended to support only regexps. For individual addresses, the preferred method is to create a nonmember record and set it's moderation action to default processing. The current import21 will import *_these_nonmembers in this way. I.e., import regexps into *_these_nonmembers and create nonmembers with appropriate moderation action for non-regexp addresses.
However, the better method for your use case is for A@domain to add A@domain2, … as additional addresses. This can be done by the user via the web UI or via REST https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/a...
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
Pierre Malard
-
Stephen J. Turnbull