Re: [Mailman-Users] Sending mails to all list administrators
Thanks, Mark! -p -Original Message- From: Mailman-Users [mailto:mailman-users-bounces+phirayam=fredhutch@python.org] On Behalf Of Mark Sapiro Sent: Thursday, July 28, 2016 9:45 AM To: mailman-users@python.org Subject: Re: [Mailman-Users] Sending mails to all list administrators On 07/28/2016 09:23 AM, Hirayama, Pat wrote: > I suppose you could generate a list of people to send by doing something like: > > /usr/lib/mailman/bin/list_admins --all | sed 's/.*Owners: //'|sed > 's/,/\r/g'|sed 's/ //g'|sort|uniq You can produce the same result with /usr/lib/mailman/bin/list_owners without the post processing. -- Mark Sapiro <m...@msapiro.net>The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/phirayam%40fredhutch.org -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Sending mails to all list administrators
Or, even easier to generate the list: /usr/mailman/bin/list_lists | awk '{print $1 "-owner@"}' From: Mailman-Users <mailman-users-bounces+cmupythia=cmu@python.org> on behalf of Hirayama, Pat <phira...@fredhutch.org> Sent: Thursday, July 28, 2016 12:23 PM To: Martin Stein; mailman-users@python.org Subject: Re: [Mailman-Users] Sending mails to all list administrators I suppose you could generate a list of people to send by doing something like: /usr/lib/mailman/bin/list_admins --all | sed 's/.*Owners: //'|sed 's/,/\r/g'|sed 's/ //g'|sort|uniq And that use that to send your email. Maybe combine it with xargs to do something like: /usr/lib/mailman/bin/list_admins --all | sed 's/.*Owners: //'|sed 's/,/\r/g'|sed 's/ //g'|sort|uniq | xargs -I {} mail -s 'subject' {} < message.txt At least, I think that last might work. :) -p -- Pat Hirayama Systems Engineer / 206.667.4856 / phira...@fredhutch.org / Fred Hutch / Cures Start Here CIT | Enterprise IT Services / Advancing IT and Data Services to Accelerate the Elimination of Disease -Original Message- From: Mailman-Users [mailto:mailman-users-bounces+phirayam=fredhutch@python.org] On Behalf Of Martin Stein Sent: Thursday, July 28, 2016 5:15 AM To: mailman-users@python.org Subject: [Mailman-Users] Sending mails to all list administrators Hi, I'm looking for an easy way, as site administrator, to send a message to all list administrators. Is there any possibility to set up a autogenerated list with all list administrators of the site or another smooth solution? Regards, Martin -- Martin Stein Attac Deutschland Webteam Attac Deutschland Münchener Str. 48 60329 Frankfurt am Main Mail: martin.st...@attac.de -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/phirayam%40fredhutch.org -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/cmupythia%40cmu.edu -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Sending mails to all list administrators
On 07/28/2016 09:23 AM, Hirayama, Pat wrote: > I suppose you could generate a list of people to send by doing something like: > > /usr/lib/mailman/bin/list_admins --all | sed 's/.*Owners: //'|sed > 's/,/\r/g'|sed 's/ //g'|sort|uniq You can produce the same result with /usr/lib/mailman/bin/list_owners without the post processing. -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Sending mails to all list administrators
I suppose you could generate a list of people to send by doing something like: /usr/lib/mailman/bin/list_admins --all | sed 's/.*Owners: //'|sed 's/,/\r/g'|sed 's/ //g'|sort|uniq And that use that to send your email. Maybe combine it with xargs to do something like: /usr/lib/mailman/bin/list_admins --all | sed 's/.*Owners: //'|sed 's/,/\r/g'|sed 's/ //g'|sort|uniq | xargs -I {} mail -s 'subject' {} < message.txt At least, I think that last might work. :) -p -- Pat Hirayama Systems Engineer / 206.667.4856 / phira...@fredhutch.org / Fred Hutch / Cures Start Here CIT | Enterprise IT Services / Advancing IT and Data Services to Accelerate the Elimination of Disease -Original Message- From: Mailman-Users [mailto:mailman-users-bounces+phirayam=fredhutch@python.org] On Behalf Of Martin Stein Sent: Thursday, July 28, 2016 5:15 AM To: mailman-users@python.org Subject: [Mailman-Users] Sending mails to all list administrators Hi, I'm looking for an easy way, as site administrator, to send a message to all list administrators. Is there any possibility to set up a autogenerated list with all list administrators of the site or another smooth solution? Regards, Martin -- Martin Stein Attac Deutschland Webteam Attac Deutschland Münchener Str. 48 60329 Frankfurt am Main Mail: martin.st...@attac.de -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/phirayam%40fredhutch.org -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] Sending mails to all list administrators
On 07/28/2016 05:14 AM, Martin Stein wrote: > Hi, > > I'm looking for an easy way, as site administrator, to send a message to > all list administrators. Is there any possibility to set up a > autogenerated list with all list administrators of the site or another > smooth solution? You can create the list and then populate/maintain it with bin/list-owners [-m] | bin/sync_members [options] -f - LISTNAME see 'bin/list-owners --help' and 'bin/sync_members --help' for more info on options. You can run the above pipe via cron to automatically maintain the list. -- Mark SapiroThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] Sending mails to all list administrators
Hi, I'm looking for an easy way, as site administrator, to send a message to all list administrators. Is there any possibility to set up a autogenerated list with all list administrators of the site or another smooth solution? Regards, Martin -- Martin Stein Attac Deutschland Webteam Attac Deutschland Münchener Str. 48 60329 Frankfurt am Main Mail: martin.st...@attac.de -- Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org