[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] majordomo only uses central dir



Jonas Pasche <jonas@xxxxxxxx> wrote:
> normally, new mailinglists are created as
> /usr/local/majordomo/<www.domain.tld>/lists/<listname>.

True, if that's where you define as their location.  You define it in the .cf
file for majordomo or for the specific domain if you have .cf files on a virtual
site basis.

> this raq3 puts all lists directly into /usr/local/majordomo/lists. this is
> a big problem, because not only the lists are saved there, but the list of
> lists on a site is get from there. that means, if i create lists unter
> site1, site3 and site5, i can see _all_ lists (and even the site-adm list!)
> at site2 or site4, too. that's worse, don't you think?

On the RaQ2, majordomo is used internally by the Cobalt server.  It may or may
not be for the RaQ3.  If it is, it would be wise to install a second copy of
majordomo and use it instead if that's an option for you.  You can grab 1.94.5
from http://www.greatcircle.com/majordomo/.

> i looked into majordomo.cf and found the following entry:
> # $listdir -- Where are the mailing lists?
> #
> if ( defined $ENV{\"VIRTUAL\"}) {
>       $listdir = \"$homedir/$ENV{\'FQDN\'}/lists\";
> } else {
>       $listdir = \"$homedir/lists\";
> so i GUESS, the problem is that VIRTUAL is undefined. does anybody know
> where it is or should be defined? or do you know any other solution?

My default .cf file didn't even have that if/else control structure (version
1.94.5).  I defined a different .cf files for each virtual domain, with listdir
defined as $listdir = "$homedir/domain.tld"; (where domain.tld is your virtual
host).

Steven Werby {steven-lists@xxxxxxxxxxxx}