[Mailman-Users] hide lists from listinfo page only (leave on admin page)

Xiaoyan Ma xma at uclink.berkeley.edu
Fri Oct 7 07:45:04 CEST 2005

Each semester we create a few hundreds course mailing lists, prepopulate them, and delete them by 
the end of the semester.  If we want to hide these lists from the listinfo page only, can I modify 
the listinfo.py file, store the name of these lists in an arrey say called "notshowns" and then 
add a logic right after "listnames.sort()", for name in listnames but not in notshowns ....

for name in listnames:(but not in notshowns)
      mlist = MailList.MailList(name, lock=0)
         if mlist.advertised:
             if mm_cfg.VIRTUAL_HOST_OVERVIEW
              mlist.web_page_url.find(hostname) == -1:
                 # List is for different identity of this host - skip it.

1. Is it safe to modify the logic of this file?
2. What will happen during upgrades?

BTW, there is a ../mailman/cgi-bin/listinfo file:

.../mailman/cgi-bin/listinfo: setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

The size of this file seems to stay the same after the listinfo.py has been modified. How is this 
file related to listinfo.py file?


On Wed, 5 Oct 2005 20:11:33 +0200
  Brad Knowles <brad at stop.mail-abuse.org> wrote:
> At 10:16 PM -0700 2005-10-04, Xiaoyan Ma wrote:
>>  I have submitted the new feature request as you suggested. As for
>>  applying patches, I don't know how it will affect upgrades.
> 	That could be a problem, yes.
>>                                                               Do you
>>  normally need to un-patch before upgrade and then re-apply patches?
> 	I don't normally try to do that, no.  But then, I don't normally need to apply patches to my 
>Mailman installations, either.
>>  I would like to learn from other people on the list about how to
>>  organize large number of lists.
> 	There are some postings from people who maintain the lists for freebsd.org or lists.apple.com 
>that you will find in the archives, some of which are also linked from the Mailman FAQ Wizard -- 
>search for "performance", and you should see all the ones that are linked.
> 	There's definitely a lot of wisdom encapsulated in these various posts.  I would encourage you 
>to read all these FAQ entries and messages, and then ask any further questions you may have.
>>                     Mailman's listinfo/admin page simply displays all lists
>>  from a-z (unless they are hidden).  When there are hundreds of lists, it is
>>  not easy to find the list you for are looking for and once you find it you
>>  can not tell if you can subscribe to it.
> 	This is an area of the Mailman user interface that could use improvement, yes.  For the moment, 
>try using the "find" feature within your browser.
> -- 
> 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.

More information about the Mailman-Users mailing list