[Mailman-Developers] The age old question - virtual domains

Mark Sapiro msapiro at value.net
Sat Dec 2 01:04:02 CET 2006

Michael Kabot wrote:
> I've got this all working well.  The ONLY issue that I can see is that I
> need to have mailman munge two email addresses...
> - In the mail that is forwarded to the list members, the Reply-To and "on
> behalf of" of the person who sent the email needs to be put back in.  Based
> on the forwarding, it is showing up as <virtual domain name>-<list name>
> - In that same email, change the <virtual domain name>-<list name>-bounces
> email to just <list name>-bounces.
> Can someone help me with two things
> 1. I need a pointer to where in the code to do the munge above.  
> 2. Any gotcha's you can think of to this idea?

These are all in SMTPDirect.py, but they are tricky because bounce 
processing is involved. See 
for some discussion of this.

There was also a recent discussion of sender header munging on this 
list. See 
and look for threads "Sender field" and "effects of not rewriting the 
Sender header".

Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Developers mailing list