Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 01:37:05 +0100
From:      Manar Hussain <manar@ivision.co.uk>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Multi-Domain mailing list software
Message-ID:  <3.0.5.32.19980421013705.00939ad0@stingray.ivision.co.uk>
In-Reply-To: <Pine.BSF.3.96.980420115019.11274C-100000@netmug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:51 20/04/98 -0700, perl wrote:
>Hi, I was wondering what software people use for mailing lists which exist
>on a few virtual domains.  Is this something majordomo can do?

A little while ago I mentioned how easy and clean it is to set up virtual
domains in exim. We've got an extension of this that works with a slight
re-work of the dir structure for majordomo that works well for us.

Basically majordomo would get installed in somewhere like /usr/majordomo/
and this and some of the sub-dirs would contain the main code files anf a
config file for that install of majordomo. A further set of sub-directories
contain further list related info that would be added to as majordomo is
used, e.g. a lists/ dir for the list config/info/subscriber/passwd files
and a archive/ dir for the list archive. (the lists/ one is the only must
have one).

To support multiple domains you would really want to have multiple
majordomo config files - the majordomo config file to use can be specified
when you call majordomo. 

What we've done is move the config file and the "further set of
sub-directories contain <that> further list related info" to another
directory tree, adding another layer to specify the domain.

E.g. the majordomo config file, lists/, archive dir etc. for the domain
wibble.com would be found in:

/usr/majordomo-lists/wibble.com/

There is then I believe the one and only (and small) patch to majordomo
code which allows it to find the right (default_ config file and the lists
files for a given domain (basically we just insert
/usr/majorcomo-lists/$domain at the start of the path).

That in itself may be of some interest/use - what we've also done is extend
the way we do virtual domains in exim with another 10 or less lines which
gets exim to look at a text file that lists all the domains that support
majordomo mailing lists and for the file:
	/usr/majordomo-lists/wibble.com/aliases/aliases
to be considered an additional aliases file for such domains. (Because it
gets handled by a different delivery config area in exim you could also
configure other things that make the MTA treat handling list mail
differently from other mail - e.g. what user delivery is conducted as).

There's not really much code change to do this - it's more an idea of how
you might like to do things - but if anyone is interested I can pass on the
simple details on how to set it up with exim at least.

BTW - I'll probably send a copy of this to majordomo-users or
majoromo-workers @greatcircle.com - probably a more appropriate forum for
majordomo queries.

Manar

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19980421013705.00939ad0>