Mark Prewitt wrote: > >We just upgraded our OSX server from 10.6.5 to 10.6.7, and it was kind >enough to nuke our Mailman defaults.py file.
It is not clear whether or not you had actually changed Defaults.py, but if you had, this is why you shouldn't have. All changes should be made in mm_cfg.py which should survive an upgrade unless Apple does something wrong. >We had setup defaults in this so that the include_sender_header always >defaulted to 'no' when a new list was created, but apparently, no one >remembers how we did this (including me). > >I cannot find it in the documentation. This upgrade put us at 2.1.14 as the >version. You must have been at 2.1.14 before as that is the first release with include_sender_header. You can't find anything in the documentation about a setting for the default value of include_sender_header because there isn't one. If you want to default it to No for new lists, you have to patch Mailman/MailList.py around line 366 to change self.include_sender_header = 1 to self.include_sender_header = 0 >I do have the "Allow Sender overrides" set to yes, and we can fix it by >going in to each list we have manually and setting the option to 'no' for >our lists. See the FAQ at <http://wiki.list.org/x/MIBp>. >However, we'd like to pre-set as many options as possible for when new lists >are created. We use this feature for internal project lists and we create >and delete lists constantly. > > > >I thought I could just put in the variable 'include_sender_header = No' in >the mm_cfg.py file and it might work, but that didn't. If a setting isn't in Defaults.py, it isn't referenced, and putting it in mm_cfg.py, no matter how logical it seems, does nothing. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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/archive%40jab.org