[Mailman-Users] Any problem with removing lower case list name conversion in newlist?

D G Teed donald.teed at gmail.com
Mon Aug 13 16:45:50 CEST 2007

It doesn't really matter if the list name is in any particular case,
to keep the original case of the list name.  Because we have
lists named after course names, it would look a little odd for
only the first char to be upper case (e.g. [Srmk4563a1] rather than

Looking at MailList.py, I see where realname is being set:

        self.real_name = internalname[0].upper() + internalname[1:]

I considered adding another variable on the next line and then
reference that in  my defaults file.  However, I think it
would require that I map all of my lists to uppercase
in the new variable, since it seems like the original name
is converted to lowercase internally when the list is created.
I'm not sure whether mapping all mailing lists to upper case
for the DEFAULT_SUBJECT_PREFIX would be acceptable.

So it gets back to my original question, which I have googled and
can't see the answer: can I safely remove the line inside the newlist
script which maps the list name to lowercase?


On 8/10/07, D G Teed <donald.teed at gmail.com> wrote:
> Inside newlist there is a line:
>    listname = listname.lower()
> Is there any hard reason this can't be removed so that list names
> are created in the original case entered?
> Also, I'd like the subject prefix to keep that
> original case when lists are created by default.
> What would be the best place to set that preference?
> --Donald

More information about the Mailman-Users mailing list