FAQ
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

Search Discussions

  • Odhiambo Washington at Jul 11, 2011 at 9:15 am

    On Mon, Jul 11, 2011 at 10: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.
    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.
  • Mark Sapiro at Jul 12, 2011 at 1:27 am

    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 <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Steff Watkins at Jul 11, 2011 at 9:27 am

    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

    -----
  • Odhiambo Washington at Jul 11, 2011 at 9:36 am

    On Mon, Jul 11, 2011 at 12:27, Steff Watkins 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.
  • Steff Watkins at Jul 11, 2011 at 10:00 am

    -----Original Message-----
    From: Odhiambo Washington [mailto:odhiambo at 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
    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

    -----
  • Barry Finkel at Jul 11, 2011 at 1:59 pm

    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 at anl.gov
    Argonne, IL 60439-4828 IBMMAIL: I1004994
  • KC Wise at Jul 11, 2011 at 6:38 pm
    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
  • Mark Sapiro at Jul 12, 2011 at 1:22 am

    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 <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Rosenbaum, Larry M. at Jul 12, 2011 at 2:09 pm

    From: mailman-users-bounces+rosenbaumlm=ornl.gov at python.org
    [mailto:mailman-users-bounces+rosenbaumlm=ornl.gov at python.org] On Behalf
    Of 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
    Could you point me to the documentation on implementing virtual domains where the list names are globally unique?

    Thanks, Larry
  • Mark Sapiro at Jul 12, 2011 at 5:36 pm

    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 at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jul 12, 2011 at 1:33 am

    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 at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJul 11, '11 at 7:33a
activeJul 12, '11 at 5:36p
posts12
users7
websitelist.org

People

Translate

site design / logo © 2022 Grokbase