The age old question - virtual domains

Hi,
I've searched quite a bit and found that virtual domains is still not supported in the current version of Mailmain (2.1.9). It sounds like it is around the corner in v2.2, whenever that is. I've also tried to use some of the "patches" that others have pointed to without success.
I have a short term need for virtual domains in Mailman and believe I have a quick fix that I could use some brief expertise in implementing, thus why I am emailing this group.
Here is my configuration
- Dedicated Servers at GoDaddy.com
- Fedora Core 4 (2.6.17 kernel)
- Mailman 2.1.5
- Python 2.4.3
- Plesk 8.1
- Qmail 1.03
Here is my idea
- create all mailman lists in the format <virtual domain name>-<list name>
- This can be done right through Plesk
- setup a mail alias for the virtual domain with the name <listname> that forwards to the <virtual domain name>-<list name>@<virtual domain name> email address
- Again, this can be done right through Plesk
- Setup a regexp for the mailman list that looks for the <virtual domain name>-<list name> format
- Presto, virtual domains working in mailman !
I will not be using ANY of the email admin functions, i.e. -request, -subscribe, -unsubscribe, etc..
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
- I need a pointer to where in the code to do the munge above.
- Any gotcha's you can think of to this idea?
Thanks in advance,
Michael Kabot President - SOAR Scouting Online Affordable & Reliable mkabot@soarol.com 585-388-0211 www.soarol.com <http://www.soarol.com/>

Michael Kabot wrote:
These are all in SMTPDirect.py, but they are tricky because bounce processing is involved. See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq02.003.htp> for some discussion of this.
There was also a recent discussion of sender header munging on this list. See <http://mail.python.org/pipermail/mailman-developers/2006-April/thread.html>, <http://mail.python.org/pipermail/mailman-developers/2006-May/thread.html> and <http://mail.python.org/pipermail/mailman-developers/2006-July/thread.html>, and look for threads "Sender field" and "effects of not rewriting the Sender header".
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Michael Kabot wrote:
These are all in SMTPDirect.py, but they are tricky because bounce processing is involved. See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq02.003.htp> for some discussion of this.
There was also a recent discussion of sender header munging on this list. See <http://mail.python.org/pipermail/mailman-developers/2006-April/thread.html>, <http://mail.python.org/pipermail/mailman-developers/2006-May/thread.html> and <http://mail.python.org/pipermail/mailman-developers/2006-July/thread.html>, and look for threads "Sender field" and "effects of not rewriting the Sender header".
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Michael Kabot