
I want to run mailman on multiple domains, e.g.
list1@lists.blah.com, list2@lists.blah.com, etc administered through http://lists.blah.com/
wth list1@other.com, list2@other.bcom, etc. administered through http://other.com/
Is there some easy way to do this? Have I missed something obvious?
Danny.

<quote name="Danny Yee" date="952350698" email="danny@anatomy.usyd.edu.au"> > I want to run mailman on multiple domains, e.g. > > list1@lists.blah.com, list2@lists.blah.com, etc > administered through http://lists.blah.com/ > > wth list1@other.com, list2@other.bcom, etc. > administered through http://other.com/ > > Is there some easy way to do this? Have I missed something obvious? </quote>
I'm not sure, but have you tried to install Mailman twice? Just make the '/mailman' alias of foo.com go to the first installation and make the '/mailman' alias of bar.com go to the second installation, etc.
Give it a try!
regards, Gerrit.

I wrote:
I want to run mailman on multiple domains, e.g.
Gerrit Holl wrote:
I'm not sure, but have you tried to install Mailman twice? Just make the '/mailman' alias of foo.com go to the first installation and make the '/mailman' alias of bar.com go to the second installation, etc.
That works (/var/mailman and /var/mailman2), but it's very ugly, requiring replication of a large pile of stuff that really shouldn't need replication. My qmail/EZmlm friends have convinced me that list data should be separated from list code...
It's possible to configure the mail domain and preferred admin URL for each list, but that doesn't actually work, since the lists still share the same web scripts.
Danny.

I was actually about to ask a question similar to that just discussed (see bottom of message for quotes from thread).
Basically I want to have multiple lists with the same (left bit of @ sign).
But with different domains (names have been changed to protect the fuzzy people). So:
everyone@hoth.sw everyone@tatooine.sw
I could make two lists: everyone-hoth everyone-tatooine
Then create virtusertable entries for the two lists so everyone@hoth.sw -> everyone-hoth everyone@tatooine.sw -> everyone-tatooine
Unfortunately I can only tell mailman to change the host part of the
From address when sending out mail. So mail would be sent out from these
addresses: everyone-hoth@hoth.sw everyone-tatooine@tatooine.sw
(Assuming I set the domain in the admin to those.)
Is there any way to do this cleanly in Mailman? (Perhaps an upcoming version?)
Does anyone have any recommendations for a kludge to get around this?
Thanks again, Chuck
Wrote Danny Yee on Mon, Mar 06, 2000 at 07:29:47PM +1100:
I wrote:
I want to run mailman on multiple domains, e.g.
Gerrit Holl wrote:
I'm not sure, but have you tried to install Mailman twice? Just make the '/mailman' alias of foo.com go to the first installation and make the '/mailman' alias of bar.com go to the second installation, etc.
That works (/var/mailman and /var/mailman2), but it's very ugly, requiring replication of a large pile of stuff that really shouldn't need replication. My qmail/EZmlm friends have convinced me that list data should be separated from list code...
It's possible to configure the mail domain and preferred admin URL for each list, but that doesn't actually work, since the lists still share the same web scripts.

From address when sending out mail. So mail would be sent out from these
addresses: everyone-hoth@hoth.sw everyone-tatooine@tatooine.sw
(Assuming I set the domain in the admin to those.)
Is there any way to do this cleanly in Mailman? (Perhaps an upcoming version?)
Does anyone have any recommendations for a kludge to get around this?
No easy way; in fact rather ugly... If using sendmail, you can try using the "generics" feature to rewrite the outgoing addresses, but that won't change some of the other headers like "X-Been-There:".
The only real way that I can see to do this is very icky. You could replace your MTA (sendmail, exim, qmail...) with a shell script that pipes everything through a procmail or perl script, which in turn rewrites any instances of wrong listnames to the correct values and then pumps them out to the real MTA binary (you didn't really replace it, just renamed it) with the right envelope sender.
To make this work, you'd need to create the lists something along the lines of
everyone.hoth.sw@example.com everyone.tatooine.sw@example.com
and then do a search and replace...
It's kind of similar to this old virtual host "solution" that I was using back in '94:
http://www.xray.mpe.mpg.de/mailing-lists/procmail/1998-04/msg00289.html
Depending on your configuration, you may or may not need multiple sendmail.cf files as specified in that example.
Told you it would be ugly! :)
Chris
participants (4)
-
Christopher P. Lindsey
-
Chuck Dale
-
Danny Yee
-
Gerrit Holl