Patches item #943827, was opened at 2004-04-28 12:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=943827&...
Category: list administration Group: Mailman 2.1 Status: Open Resolution: None Priority: 5 Submitted By: The Anarcat (anarcat) Assigned to: Nobody/Anonymous (nobody) Summary: true virtual hosting patch for 2.1
Initial Comment: [copy of the mail sent to -developpers@]
We developped a reliable solution for running lists with the same name on different domains on the same Mailman installation.
I implemented that on top of the Mailman 2.1.1-5.1 Debian stable package. All that is needed is to patch 2 files (bin/newlist, Mailman/MailList.py) in the mailman install, and here is the patch:
http://bugs.koumbit.net/file_download.php?file_id=3&type=bug
There's only one caveat right now: Mailman/Cgi/create.py might need to get patched too, but I haven't got around looking at it yet, and it "just works", for now.
I don't know what's the current status of virtual hosting support on Mailman, but this patch is a simple hack that should bring joy in the homes of all Mailman admins around the world. :)
I got my inspiration and part of the code from:
http://mithrandr.moria.org/blog/139.html
All it does is to add the domain to the internal_name() of a list. The real_name is kept as is, and the getListAddress() does the Right Thing.
This makes Mailman generate aliases like:
list-example.com: "|/var/lib/mailman/mail/mailman post list-example.com"
Care will have to be taken on the MTA side to map those list-example.com to list@example.com. We are using alternc.org to manage our server, so we are using LDAP, so everything went pretty smoothly. :) But I guess it will require some magic on the Postfix side or something...
Cheers,
A.
PS: for those wanting to see more, you can come to our Wiki:
http://koumbit.net/wiki/VirtualMailman
You'll probably have a little trouble finding your way if you don't read french though. :) Babelfish might help, haven't tried.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=943827&...