Great Circle Associates Majordomo-Users
(October 1999)
 

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

Subject: Re: virtual hosting and email lists
From: Omar Thameen <omar @ clifford . inch . com>
Date: Thu, 28 Oct 1999 19:13:21 -0400
To: John Robens <jrobens @ socialchange . net . au>, majordomo-users @ GreatCircle . COM
Cc: Marcus Dillury <marcus @ socialchange . net . au>
In-reply-to: <Pine.GSO.4.05.9910270037250.28999-100000@homer>; from John Robens on Wed, Oct 27, 1999 at 12:55:04AM +1000
References: <Pine.GSO.4.05.9910270037250.28999-100000@homer>

I use a combination of sendmail's virtualusers table and alias file.
The virtualusers table makes list-request@domain.com map to list-request,
so you end up with local aliases.  The alias file allows you to execute
programs.

Here's an example:

The virtualusers file:

owner-test@virt.domain.com         jdoe@wherever.com
test-owner@virt.domain.com         owner-test@virt.domain.com
test@virt.domain.com               test
test-approval@virt.domain.com      jdoe@wherever.com
test-outgoing@virt.domain.com      test-outgoing
test-request@virt.domain.com       test-request

The alias file:

test:         "|/usr/local/server/majordomo/wrapper resend -l test -h virt.domain.com -C /usr/local/etc/majordomo/majordomo-virt.domain.com.cf test-outgoing,devnull"
test-outgoing:        :include:/home/majordom/lists/test, "|/usr/local/server/majordomo/wrapper archive -a -m -f /home/majordom/archives/test/test"
test-request:         "|/usr/local/server/majordomo/wrapper majordomo -l test -C /usr/local/etc/majordomo/majordomo-virt.domain.com.cf"


This presupposes that all listnames will be unique.  Also not that we create
a separate majordomo.cf file for each virtual domain.

--
Omar


On Wed, Oct 27, 1999 at 12:55:04AM +1000, John Robens wrote:
> My problem is that I am trying to use procmail to parse the headers to
> work out what messages should be passed to the outgoing user.
> 
> I can map the majordomo users using the virtualusers table in sendmail,
> but can it run the commands required to put a full majordomo configuration
> in there? Since it is a fixed dbm format I thought not to risk it. I
> wanted the mailing lists (there are lots) separated (secondary
> requirement) from the sendmail, as I am in the process of migrating them
> between hosts. 


Follow-Ups:
References:
Indexed By Date Previous: RE: Problem with bounces list and expiring users
From: "Gamlin, Brett" <bjgamlin@bundysugar.com.au>
Next: Re: virtual hosting and email lists
From: John Robens <jrobens@socialchange.net.au>
Indexed By Thread Previous: virtual hosting and email lists
From: John Robens <jrobens@socialchange.net.au>
Next: Re: virtual hosting and email lists
From: John Robens <jrobens@socialchange.net.au>

Google
 
Search Internet Search www.greatcircle.com