[Mailman-Users] Change Name In Posts

Jim Tittsler jwt at onjapan.net
Fri Jul 15 07:46:50 CEST 2005


On 07/15/2005 09:52 AM, [ Dhruv ] wrote:
> I would like to have the From address for posters so that it goes as ::
> 
> From: Dhruv <games at domain.com>
> 
> What i want to do is ensure that people know the name of the poster but not 
> the mail id.

I don't know of a way to do this with Mailman out of the box.

However, if you think of Mailman as a mailing list construction set, you 
could build a custom pipeline stage that did it.  (Steal some of the 
code from the Cleanse.py pipeline stage's anonomizing section, but pull 
the name from the From: header before deleting the original one.)

Each list can have its own custom pipeline.  Use bin/withlist to add a 
.pipeline object based on the mm_cfg.GLOBAL_PIPELINE, but with your new
stage just before Cleanse.

(More details on the custom pipeline technique are in the list archives.)


-- 
Jim Tittsler     http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC      irc://irc.freenode.net/#mailman



More information about the Mailman-Users mailing list