[Mailman-Users] Reply-To option, Author Name and Archives

Topaz11green at aol.com Topaz11green at aol.com
Sat Jun 22 20:14:22 CEST 2002


Hi Joel and other interested parties,

Thanks for your offer of help. In the meantime, I seem to have found the 
source of the problem.

If you look at the pipermail.py file, starting at line 177:

    # 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

the code references the "Reply-To" header. If you comment out the three lines 
starting with e = message (etc) as I have done above, and then recreate your 
archives, the archives work as expected, with the author being the actual 
author and not the list address. And, the actual e-mail will still have the 
Reply-To: header.

Take care,

-Susan

In a message dated 6/7/2002 3:43:32 PM Eastern Daylight Time, 
uckelman at scylla.ellipsis.cx writes:

> I think this is the same problem I asked about a few days ago. I've been 
>  looking at the code in an attempt to determine out why this happens, but I 
>  haven't made much progress thus far. I'll let you know if I figure it out.
>  
>  -- 
>  J.
>  





More information about the Mailman-Users mailing list