Great Circle Associates Majordomo-Users
(January 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Majordomo on multiple domains?
From: Anthony Baratta <Anthony @ Baratta . com>
Date: Mon, 24 Jan 2000 13:03:07 -0800
To: Kevsurf <kevsurf @ mindspring . com>, majordomo-users @ GreatCircle . COM
References: <003a01bf6682$dc88d5c0$825c56d1@preferreduser>

Kevin...

This is discussed in the FAQ - but not clearly IMHO.

http://www.greatcircle.com/majordomo/majordomo-faq.html#3.12


Here's a quickie on what I do....(this does not setup the list for
digest!! And if I've screwed this up somewhere hopefully someone here
will set me straight.)

Setup Sendmail to use Virtual User Tables (if its not already).

Create two config files

e.g. majordomo-domain1.cf and majordomo-domain2.cf

(
Make sure you setup the config files correctly.
)

Create two list directories

e.g. <majordomo>/lists-domain1 and <majordomo>/lists-domain2

Create a Following Aliases for Domain1 and Domain2

e.g. virtusertable
#Domain 1
majordomo@domain1.com          majordomo-1
majordomo-owner@domain1.com    user
ListOne@domain1.com            ListOne
ListOne-owner@domain1.com      user
owner-ListOne@domain1.com      user
ListOne-request@domain1.com    ListOne-request
@domain1.com                   user

#Domain 2
majordomo@domain2.com          majordomo-2
majordomo-owner@domain2.com    user
ListTwo@domain2.com            ListTwo
ListTwo-owner@domain2.com      user
owner-ListTwo@domain2.com      user
ListOne-request@domain2.com    ListTwo-request
@domain2.com                   user

(
Don't forget to 'compile/hash' the file into the db format Sendmail
needs.
	makemap hash /etc/virtusertable < /etc/virtusertable
)

I use a seperate file especially for majordomo aliases. You can setup
Sendmail to use two (or more) alias files.

e.g. (watch out for line wrap)

#MajorDomo Aliases
## System Info
majordomo-1:  "|/usr/local/majordomo/wrapper majordomo -C
/usr/local/majordomo/majordomo-1.cf"
majordomo-2:  "|/usr/local/majordomo/wrapper majordomo -C
/usr/local/majordomo/majordomo-2.cf"

#Domain 1
ListOne:   "|/usr/local/majordomo/wrapper resend -l ListOne -C
/usr/local/majordomo/majordomo-domain1.cf ListOne-OutGoing"
ListOne-OutGoing: :include:/usr/local/majordomo/lists-domain1/listone
ListOne-request: "|/usr/local/majordomo/wrapper majordomo -l ListOne -C
/usr/local/majordomo/majordomo-domain1.cf"

#Domain 2
ListTwo:   "|/usr/local/majordomo/wrapper resend -l Listtwo -C
/usr/local/majordomo/majordomo-domain2.cf ListTwo-OutGoing"
ListTwo-OutGoing: :include:/usr/local/majordomo/lists-domain1/listtwo
ListTwo-request: "|/usr/local/majordomo/wrapper majordomo -l ListTwo -C
/usr/local/majordomo/majordomo-domain2.cf"

(
Don't forget to 'compile/hash' the file into the db format Sendmail
needs.
	newaliases
)

Again this will NOT setup digest mode. I don't use that yet and am not
sure what else is needed to make that work.

-- 
Anthony Baratta


References:
Indexed By Date Previous: How to create an Archive ?
From: Kay Stöcker <kaystoecker@firemail.de>
Next: Re: Mailer Error 2
From: Virginia Walters <vwalters@ceris.purdue.edu>
Indexed By Thread Previous: Majordomo on multiple domains?
From: "Kevsurf" <kevsurf@mindspring.com>
Next: Re: Majordomo on multiple domains?
From: Michael Donohue <webmaster@bard.net>

Google
 
Search Internet Search www.greatcircle.com