[Mailman-Developers]
[ mailman-Patches-574976 ] Reply-To option, Author Name & Archives
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 27 Jun 2002 23:51:02 -0700
Patches item #574976, was opened at 2002-06-28 01:51
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=574976&group_id=103
Category: Pipermail
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Susan Dridi (sdridi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Reply-To option, Author Name & Archives
Initial Comment:
If the option to Reply-To the list is set, and if the "From:" field in the list.mbox
file is in the format of "Poster Name" <somebody@example.com> or else Poster
Name <somebody@example.com>then Poster Name is displayed as the Author. If
the "From:" field is in the format of someone@example.com (AOL does this) then the Author is the list
e-mail address. The e-mail address in the archived post is always the list e-mail address.
So, it's often difficult to tell who actually posted something.
Here is the patch, which just rearranges lines that were already in the code:
*** pipermail.py.dist Fri Jun 1 15:30:16 2001
--- pipermail.py Mon Jun 24 12:22:46 2002
***************
*** 176,189 ****
# Figure out the e-mail address and poster's name
self.author, self.email = message.getaddr('From')
! e = message.getheader('Reply-To')
if e is not None:
self.email = e
self.email = strip_separators(self.email)
self.author = strip_separators(self.author)
-
- if self.author == "":
- self.author = self.email
# Save the In-Reply-To:, References:, and Message-ID: lines
#
--- 176,188 ----
# Figure out the e-mail address and poster's name
self.author, self.email = message.getaddr('From')
! if self.author == "":
! self.author = self.email
! e = message.getheader('Reply-To')
if e is not None:
self.email = e
self.email = strip_separators(self.email)
self.author = strip_separators(self.author)
# Save the In-Reply-To:, References:, and Message-ID: lines
#
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=574976&group_id=103