[Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Steven Jones
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
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Odhiambo Washington
On Mon, Jul 11, 2011 at 10:33, Steven Jones steven.jo...@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.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Steff Watkins
 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

Hi,

 bin/list_owners will give you a list of the email addresses of all your
lists owners, one email addres at a time. If you add the -m option, you
also get all the moderators email addresses also.

Simples! :)

Steff

-
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Odhiambo Washington
On Mon, Jul 11, 2011 at 12:27, Steff Watkins s.watk...@nhm.ac.uk 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.
 
  regards

 Hi,

  bin/list_owners will give you a list of the email addresses of all your
 lists owners, one email addres at a time. If you add the -m option, you
 also get all the moderators email addresses also.

 Simples! :)

 Steff


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.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Steff Watkins
 

 -Original Message-
 From: Odhiambo Washington [mailto:odhia...@gmail.com] 
 Sent: Monday, July 11, 2011 10:37 AM
 To: Steff Watkins
 Cc: Mailman Users List
 Subject: Re: [Mailman-Users] Is there a Command to extract 
 the lists owners?
 
 
 
 On Mon, Jul 11, 2011 at 12:27, Steff Watkins 
 s.watk...@nhm.ac.uk 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.
   
regards
   
 
 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

-
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Barry Finkel

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: bsfin...@anl.gov
Argonne, IL   60439-4828 IBMMAIL:  I1004994
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Different Domains on Single Mailman Server

2011-07-11 Thread KC Wise
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
 
 
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Re: [Mailman-Users] Different Domains on Single Mailman Server

2011-07-11 Thread Mark Sapiro
KC Wise wrote:

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.


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 m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Mark Sapiro
Odhiambo Washington wrote:

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}'


Or

./bin/list_lists --bare | awk '{print $1-owner@$domain}'

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Is there a Command to extract the lists owners?

2011-07-11 Thread Mark Sapiro
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 m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org