You could always hard code it - I think it would be in CookHeaders. Date sent: Tue, 11 May 2004 17:25:48 -0400 From: Ari Jort <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Mailman-Users] editing From line in anonymous list
> I have a list with the anonymous_list field set to Yes because we > want to rewrite the From and Reply-To headers. > > The result of this setting is that the From: line contains the list > email address e.g.: > > From: [EMAIL PROTECTED] > > > However, I would like to have that From line look like this: > > From: My List <[EMAIL PROTECTED]> > > > Where the string "My List" could be from the description field on the list. > > Has anyone tried to do that? > > This appear to be impossible to set in the configuration, since the > method in Mailman/MailList.py:getListAddress() only returns an email > address. The code doesn't seem to have a way to get the description. > > There could be a function like this: > > def getFriendlyListAddress(self); > return '%s <[EMAIL PROTECTED]>' % (self.description, self.internal_name(), > self.host_name) > > with maybe some extra code to handle the situation where > self.description is blank. > > Does this make sense? Has anyone else tried this? > > Thanks, > > > > ari > > ------------------------------------------------------ > Mailman-Users mailing list > [EMAIL PROTECTED] > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > > Thanks. Lloyd F. Tennison [EMAIL PROTECTED] No trees were harmed in the transmission of this message. However, a rather large number of electrons were temporarily inconvenienced. ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
