Hi, In our Mailman 2 environment we have a script that uses the binaries 'mailman/bin/list_owners' and 'mailman/bin/sync_members' to keep a list of owners up to date. This is handy for sending out service notifications to all list owners. Unfortunately, there doesn't seem to be an exact equivalent in Mailman 3 for list_owners.
I've tried using the command 'mailman members --role administrator LISTSPEC' whilst looping through each list from the output of 'mailman lists'. It almost does the job, but in cases where an owner has a display name set the sync fails as it cannot parse these lines. e.g. Cannot parse as valid email address (skipping): Smith, John <[email protected]> I can probably try to clean the output of "mailman members" before doing 'mailman syncmembers'. I just wondered if anybody is doing something similar and has a better approach I'm missing? Thanks _______________________________________________ Mailman-users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/[email protected]/message/N4CN7DR6ID6EE2RQS6CVERPNAHCOZ6WY/ This message sent to [email protected]
