true virtual hosting patch for 2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Undecided
|
Unassigned |
Bug Description
[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/
is the patch:
http://
There's only one caveat right now:
Mailman/
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://
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/
Care will have to be taken on the MTA side to map those
list-example.com
to <email address hidden>. 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://
You'll probably have a little trouble finding your way
if you don't
read french though. :) Babelfish might help, haven't tried.
Logged In: YES
user_id=246797
I have ported the patch to 2.1.4, no news on 2.1.5 yet. I
have also put the patch in a seperate CVS server. Fetch all
the goods there:
http:// cvs.koumbit. net/cgi- bin/cvsweb/ koumbit- maint/patches/ mailman- true-virtual- 2.1.1.patch cvs.koumbit. net/cgi- bin/cvsweb/ koumbit- maint/patches/ mailman- true-virtual- 2.1.4.patch
http://
I've also updated the 2.1.1 patch to fix the list-id, so I
delete the attachment, fetch the patch straight from our CVS
for the latest fixes.