FAQ
If I am the site Mailman admin for my Mailman site, using the web interface, how
can I see the lists of all my site's lists, including the unadvertised lists?

I find that if I go to the MM admin page for my site, it says, "There currently
are no publicly-advertised Mailman mailing lists on mysite.jhu.edu. To visit
the administrators configuration page for an unadvertised list, open a URL
similar to this one, but with a '/' and the list name appended."

However, there is at least one list on the site, but it is set not to
'advertise'. As the site admin, I can log into this specific unadvertised list
from the web and make changes.

But, I have to know ahead of time that this list is actually on our MM server.

So, as site admin, how can I use the web interface to see the entire set of
lists, advertised and unadvertised, on my MM server via the web, so that I know
what lists I have to choose from? I thought I used to be able to do this on an
old install of Mailman we used to have, but I can't seem to find any docs or FAQ
entries that describe how to do it.

(I know I can get the list of all MM mail lists at the command line, but if I'm
working remotely via the web, I'd like not to have to log into the MM server
machine at a command prompt and have to run the MM commands just to see all the
lists on our server.)

Thank in advance!

Steve

Search Discussions

  • Brad Knowles at Aug 9, 2005 at 7:12 pm

    At 12:31 PM -0400 2005-08-09, Steve Rifkin wrote:

    If I am the site Mailman admin for my Mailman site, using the web
    interface, how can I see the lists of all my site's lists, including
    the unadvertised lists?
    Via the web interface? You don't. The web interface only shows
    the public lists.

    --
    Brad Knowles, <brad at stop.mail-abuse.org>

    "Those who would give up essential Liberty, to purchase a little
    temporary Safety, deserve neither Liberty nor Safety."

    -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
    Assembly to the Governor, November 11, 1755

    SAGE member since 1995. See <http://www.sage.org/> for more info.
  • Steve Rifkin at Aug 9, 2005 at 10:35 pm
    Even to the site admins? Was it always like that? I was chatting with another
    admin here today, and for some reason, we seem to remember the site admin being
    able to see all lists via the web interface... mind you, that's when we were
    running MM about 2-3 years ago, and we just might be remembering something else.

    (We haven't run MM for a while now but are restarting the service and are trying
    to catch up.)

    Is there a reason why the design of Mailman doesn't allow for the web interface
    to display _all_ lists for a Mailman site admin only? I would think that would
    be a good feature to have, in that, if I wanted to configure lists remotely as
    the site admin (as opposed to a list admin), I'd want to see the names of all
    the lists, advertised or not.

    Thanks for your reply.

    Steve

    Brad Knowles wrote:
    Via the web interface? You don't. The web interface only shows
    the public lists.
  • Brad Knowles at Aug 10, 2005 at 9:26 am

    At 6:35 PM -0400 2005-08-09, Steve Rifkin wrote:

    Even to the site admins? Was it always like that?
    So far as I know, yes. The problem is that there is no private
    authenticated admin page. Anyone can go to the admin interface page,
    but you can't do anything from that page unless you've got the site
    or list admin password(s).
    Is there a reason why the design of Mailman doesn't allow for the web
    interface to display _all_ lists for a Mailman site admin only? I
    would think that would be a good feature to have, in that, if I wanted
    to configure lists remotely as the site admin (as opposed to a list
    admin), I'd want to see the names of all the lists, advertised or not.
    As site admin, you should have command-line access to the server,
    or at least be able to remember what private lists you've created.

    But you are right that this would be a nice feature. Please feel
    free to go to the SourceForge Mailman Request for Enhancement page at
    <http://sourceforge.net/tracker/?group_id3&atid50103> and file
    an RFE.

    --
    Brad Knowles, <brad at stop.mail-abuse.org>

    "Those who would give up essential Liberty, to purchase a little
    temporary Safety, deserve neither Liberty nor Safety."

    -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
    Assembly to the Governor, November 11, 1755

    SAGE member since 1995. See <http://www.sage.org/> for more info.
  • Steve Rifkin at Aug 10, 2005 at 3:17 pm
    Cool. Thanks Matt, I'll have to try that out.

    Steve


    Matt wrote:
    I wrote a nasty script to generate an HTML file that lists all the
    lists.

    I run it daily from cron because I didn't want to monkey around with a
    setuid mailman CGI program.

    Use your web server to restrict access to the generated HTML file as
    appropriate.

    Here's an example. Customize as required. Works for me; it might
    work for you.

    #!/usr/bin/perl
    # Create a web page from the output of the Mailman list_lists command.

    $cmd="/usr/share/mailman/bin/list_lists";

    open LISTINFO, "$cmd |" or die "cannot run $cmd: $!\n";

    print '
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>Mailing lists</title>
    <style type="text/css">
    .shaded {background: #EEEEEE;}
    </style>
    </head>
    <body>
    <h1>Mailing lists</h1>
    <table>
    ';

    $rownumber = 0;
    $headerline = <LISTINFO>;
    while (<LISTINFO>) {
    chop;
    ($listname, $description) = split / - /;
    $listname =~ s/^\s+//;
    if ($rownumber % 2) {
    $class = "";
    } else {
    $class = 'class="shaded"';
    }
    $rownumber++;
    $lc_listname = lc $listname;
    print "<tr $class>\n";
    print "<td><a href=\"/mailman/listinfo/$lc_listname\">$listname</a>\n";
    print "<td>$description\n";
    print "<td><a href=\"mailto:${lc_listname}-owner\@your.list.server\">
    mail list owner</a>\n";
    print "</tr>\n";
    }

    print "</table>";

    # page footer
    print '
    </body>
    </html>
    ';

    --
    Matt Emerson
    rme at grc.nasa.gov

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedAug 9, '05 at 4:31p
activeAug 10, '05 at 3:17p
posts5
users2
websitelist.org

2 users in discussion

Steve Rifkin: 3 posts Brad Knowles: 2 posts

People

Translate

site design / logo © 2022 Grokbase