Is there a Command to extract the lists owners?

I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
regards

On Mon, Jul 11, 2011 at 10:33, Steven Jones <Steven.Jones@vuw.ac.nz> wrote:
I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
A poor man's way: You just need to know the listname and append -owner to it, like mailman-users-owner.
./bin/list_lists | grep -v '^[0-9]' | awk '{print $1"-owner@$domain"}'
Replace $domain with a sane value. If there are several different domains on this site, then wait for someone else to advise:)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.

On Mon, Jul 11, 2011 at 12:27, Steff Watkins <s.watkins@nhm.ac.uk> wrote:
Perhaps it would be nice if this command also listed the listname against the owners?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.

Perhaps it would be nice if this command also listed the listname against the owners?
It does. Use the -w option.
This stuff is really easy to find out about. Just trying running the command with an option of '--help' . If the command doesn't recognise the option it will usually complain and stop working so no damage done there. However if the command (and I'm talking generally about unixy sort of commands, not just Mailman in particular).. If the command does recognise the '--help' option it wil... give you help!
The '-h' option is usually good for this as well. If you're really tetchy about supplying unknown options to random binaries then do the operation as a standard or restricted user. Then you minimise the potential for any damage you might do.
Simples! :)
Steff

On 07/11/11 02:33, Steven Jones wrote:
I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
I have a Mailman list named mailman-list-owners just for this purpose. I have a cron that is run every two hours to keep the membership current.
mailman# cat sync_owners.exec #!/bin/csh # shell script to synchronize the mailman-list-owners subscribers # When (how often) do we run this script? # 11May09 0248PM Barry Finkel
# Synchronize silently: # file is stdin (-f -) # no Welcome message (-w=no) # no goodby message (-g=no) # no digest mode (-d=no) # no admin notify (-a=no)
/usr/lib/mailman/bin/list_owners |
/usr/lib/mailman/bin/sync_members -f - -w=no -g=no -d=no -a=no
mailman-list-owners
mailman#
When I see a new owner, I send him/her e-mail pointing to our internal wiki where I have information for Mailman list owners.
Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994

Inherited a few mailman servers. I was wanting to know if I can combine them into a single server/instance.
My issue is that they are not subdomains they are completely different domain names for example:
something.org
lists.somethingelse.com
lists.different2.com
Just wanted to make sure that something like this will work before I proceed.
Thanks for your time, KC Wise

KC Wise wrote:
It will work with standard GNU Mailman in a single instance if all list names are globally unique. If you have need of lists with the same name in different domains, there are some unofficial sets of patches available, or you can run multiple Mailman instances on the one server, but you can expect some minor grief in getting it to work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Rosenbaum, Larry M. wrote:
Could you point me to the documentation on implementing virtual domains where the list names are globally unique?
This involves both Mailman and the MTA. It may or may not involve the web server depending on whether the web server's Mailman related directives are global or per domain.
The Mailman side is relatively simple. See the section headed
##### # Virtual domains #####
in Defaults.py. Basically you just need an
add_virtualhost('web_host', 'email_host')
line in mm_cfg.py for each virtual host.
For the Postfix MTA see <http://www.list.org/mailman-install/postfix-virtual.html>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Steven Jones wrote:
I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
There are two commands. bin/list_owners has already been mentioned and there is also bin/list_admins for a somewhat different output format. Give either command with the --help option for details.
Also see the FAQ at <http://wiki.list.org/x/z4A9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Mon, Jul 11, 2011 at 10:33, Steven Jones <Steven.Jones@vuw.ac.nz> wrote:
I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
A poor man's way: You just need to know the listname and append -owner to it, like mailman-users-owner.
./bin/list_lists | grep -v '^[0-9]' | awk '{print $1"-owner@$domain"}'
Replace $domain with a sane value. If there are several different domains on this site, then wait for someone else to advise:)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.

On Mon, Jul 11, 2011 at 12:27, Steff Watkins <s.watkins@nhm.ac.uk> wrote:
Perhaps it would be nice if this command also listed the listname against the owners?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.

Perhaps it would be nice if this command also listed the listname against the owners?
It does. Use the -w option.
This stuff is really easy to find out about. Just trying running the command with an option of '--help' . If the command doesn't recognise the option it will usually complain and stop working so no damage done there. However if the command (and I'm talking generally about unixy sort of commands, not just Mailman in particular).. If the command does recognise the '--help' option it wil... give you help!
The '-h' option is usually good for this as well. If you're really tetchy about supplying unknown options to random binaries then do the operation as a standard or restricted user. Then you minimise the potential for any damage you might do.
Simples! :)
Steff

On 07/11/11 02:33, Steven Jones wrote:
I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
I have a Mailman list named mailman-list-owners just for this purpose. I have a cron that is run every two hours to keep the membership current.
mailman# cat sync_owners.exec #!/bin/csh # shell script to synchronize the mailman-list-owners subscribers # When (how often) do we run this script? # 11May09 0248PM Barry Finkel
# Synchronize silently: # file is stdin (-f -) # no Welcome message (-w=no) # no goodby message (-g=no) # no digest mode (-d=no) # no admin notify (-a=no)
/usr/lib/mailman/bin/list_owners |
/usr/lib/mailman/bin/sync_members -f - -w=no -g=no -d=no -a=no
mailman-list-owners
mailman#
When I see a new owner, I send him/her e-mail pointing to our internal wiki where I have information for Mailman list owners.
Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel@anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994

Inherited a few mailman servers. I was wanting to know if I can combine them into a single server/instance.
My issue is that they are not subdomains they are completely different domain names for example:
something.org
lists.somethingelse.com
lists.different2.com
Just wanted to make sure that something like this will work before I proceed.
Thanks for your time, KC Wise

KC Wise wrote:
It will work with standard GNU Mailman in a single instance if all list names are globally unique. If you have need of lists with the same name in different domains, there are some unofficial sets of patches available, or you can run multiple Mailman instances on the one server, but you can expect some minor grief in getting it to work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Rosenbaum, Larry M. wrote:
Could you point me to the documentation on implementing virtual domains where the list names are globally unique?
This involves both Mailman and the MTA. It may or may not involve the web server depending on whether the web server's Mailman related directives are global or per domain.
The Mailman side is relatively simple. See the section headed
##### # Virtual domains #####
in Defaults.py. Basically you just need an
add_virtualhost('web_host', 'email_host')
line in mm_cfg.py for each virtual host.
For the Postfix MTA see <http://www.list.org/mailman-install/postfix-virtual.html>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Steven Jones wrote:
I need to email each list owner to let them know the server will be off line while I upgrade it, so I need their email addresses.
There are two commands. bin/list_owners has already been mentioned and there is also bin/list_admins for a somewhat different output format. Give either command with the --help option for details.
Also see the FAQ at <http://wiki.list.org/x/z4A9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (7)
-
Barry Finkel
-
KC Wise
-
Mark Sapiro
-
Odhiambo Washington
-
Rosenbaum, Larry M.
-
Steff Watkins
-
Steven Jones