Mailman is changing list names to upper case first letter; how can that be changed? Are list names not case-sensitive?

To answer part of my question, I guess list names are not case sensitive since they are used in an e-mail address.
However, I do not like Mailman assuming I want an upper case first character in my templates and such about the list. Specifically, I used a script to create a list named 'cs-24' (and similarly named ones) and I would like it to show on all pages as 'cs-24', not 'Cs-24'.
I assume there is some way to change that behavior in a python file, but where?
Thanks.
Best regards,
-Tom

On 04/30/2013 12:15 PM, Tom Browder wrote:
I assume there is some way to change that behavior in a python file, but where?
Mailman's internal list name, i.e. the name of of it's lists/LISTNAME directory and the name in URLs and the exposed list email addresses. Assuming you have a case sensitive file system and web server, these must always be lower case.
The name you are talking about is the list's real_name attribute. This can be any 'mixed case' name that differs only in case from the internal name and is the name you see in the listinfo overview, the titles of various web pages, etc.
You can change this to any other name that differs only in case from the internal name on the list's General Op[tions page (first setting) or with bin/config_list. By default, when a list is created, it is set to the list's internal name with the first letter upper-cased.
If you want to change this default, edit the module Mailman/MailList.py. Around line 352 you'll see
self.real_name = internalname[0].upper() + internalname[1:]
Change that to
self.real_name = internalname

On Tue, Apr 30, 2013 at 3:24 PM, Mark Sapiro mark@msapiro.net wrote:
On 04/30/2013 12:15 PM, Tom Browder wrote:
I assume there is some way to change that behavior in a python file, but where?
...
If you want to change this default, edit the module Mailman/MailList.py. Around line 352 you'll see
self.real_name = internalname[0].upper() + internalname[1:]
Change that to
self.real_name = internalname
That did it, Mark, great help as usual!
Thanks a heap (one more question coming later if I can't sort it out).
Best regards,
-Tom

BRAVO! I have been working around that behavior in Mailman-related scripts for years. Too bad they now have me migrating from Mailman to Google Groups...............
Kirke Johnson Internet: kjohnson@pcc.edu Email Administrator, TSS , Sylvania Campus Portland Community College, Portland, OR, USA (971) 722-4368
On Tue, Apr 30, 2013 at 2:22 PM, Tom Browder tom.browder@gmail.com wrote:
On Tue, Apr 30, 2013 at 3:24 PM, Mark Sapiro mark@msapiro.net wrote:
On 04/30/2013 12:15 PM, Tom Browder wrote:
I assume there is some way to change that behavior in a python file,
but where? ...
If you want to change this default, edit the module Mailman/MailList.py. Around line 352 you'll see
self.real_name = internalname[0].upper() + internalname[1:]
Change that to
self.real_name = internalname
That did it, Mark, great help as usual!
Thanks a heap (one more question coming later if I can't sort it out).
Best regards,
-Tom
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/kjohnson%40pcc.edu
participants (3)
-
Kirke Johnson
-
Mark Sapiro
-
Tom Browder