[Mailman-Users] public listname case? + system pass?

Richard Barrett R.Barrett at ftel.co.uk
Mon Sep 2 10:53:22 CEST 2002


At 02:17 02/09/2002 -0400, Fuzzy wrote:

>On Sun, 1 Sep 2002, Bob Weissman wrote:
>
> > >* Paul Reilly <pareilly at tcd.ie> [20020901 01:20]: wrote:
> > >> 1) when i create a new list with 'newlist -q mylist paul at paul.com 
> mypass'
> > >>    it creates the list fine, but it always changes the case of the
> > >>    listname to uppercase. ie "mylist" becomes "Mylist".
> >
> > Edit Mailman/MailList.py, changing the lines
> >         self.real_name = '%s%s' % (string.upper(self._internal_name[0]),
> >                                    self._internal_name[1:])
> > to
> >         self.real_name = self._internal_name
> >
> > - Bob
>
>
>would this do the same for mm 2.1b3?
>
>--- Mailman/MailList.py.orig    Mon Sep  2 01:42:15 2002
>+++ Mailman/MailList.py Mon Sep  2 02:14:47 2002
>@@ -297,8 +297,7 @@
>          self.bounce_matching_headers = \
>                  mm_cfg.DEFAULT_BOUNCE_MATCHING_HEADERS
>          self.anonymous_list = mm_cfg.DEFAULT_ANONYMOUS_LIST
>-        internalname = self.internal_name()
>-        self.real_name = internalname[0].upper() + internalname[1:]
>+        self.real_name = self.internal_name()
>          self.description = ''
>          self.info = ''
>          self.welcome_msg = ''
>
>--
>Fuzzy                                                                _
>fuzzy @ asarian.org                         - ASCII ribbon campaign ( )
>                                          - against HTML, vCards and  X
>                                 - proprietary attachments in e-mail / \
>

A simpler way is to just change the first (real_name) and fourth (MM 2.0.x) 
or sixth (MM 2.1b3) (subject_prefix) fields on the web admin GUI General 
Options page for the list.

Bear in mind that case in not significant in an email address and the 
various MM directories/URLs associated with a list all use the list name 
normalized to lower case. 





More information about the Mailman-Users mailing list