[Mailman-Developers] FW: [Mailman-Users] Still need code info for privacy option

Ken Manheimer klm@digicool.com
Wed, 21 Apr 1999 19:52:40 -0400


I'm sorry i can't help more with this, no time - but mailman-developers
is a more appropriate venue for the question, maybe you'll get some
other attention there.

Context for mailman-developers - setting the "hide the message sender"
privacy option doesn't seem to be working, and the code (in
MailList.MailList.Post()) doesn't seem to be right - the reply-to is
deleted, but the code is setting the address to the list admin, not the
list proper. And it's not working anyway - as james d mentions below,
wiring it to set the from to something else is not working...

Ken Manheimer
klm@digicool.com


-----Original Message-----
From: Nicholson James D [mailto:James.Nicholson@amedd.army.mil] 
Sent: Tuesday, April 20, 1999 5:17 PM
To: Ken Manheimer
Cc: mailman-users@python.org
Subject: RE: [Mailman-Users] Still need code info for privacy option


[Nicholson James D]  
I found the problem with the list not remailing anonymously.  In routine
Post(), it deletes the sender and reply-to fields and then sets the from
field.  However, it set the From field to self.GetAdminEmail.  What I
needed
it to do (and what I believe it should be doing) is setting the From
field
to self.GetListEmail, which will return the list address.  

However, I can't get the damned thing to change the From field for
anything.
I've even done a 
	msg.setheader( 'From', 'listname@machine' ).  That's hardwired
in
the Post() routine just for testing, and it isn't bloody changing the
header... at all.  I altered the MailList.py file, moved the
MailList.pyc to
oldMailList.pyc, and it still does the same damned thing.  It sets the
From
field to whoever sent the message.  Was I supposed to recompile the
package
or something to get my changes to take effect?  I just don't know python
or
mailman well enough to know even this.  Sorry.

-Jim