Great Circle Associates Majordomo-Users
(June 2001)
 

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

Subject: Re: Virtual host can't find config?
From: Daniel Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Tue, 12 Jun 2001 00:49:59 -0500
To: "Scott E. Siddall" <siddall @ denison . edu>
Cc: majordomo-users @ GreatCircle . COM
References: <IEEPLENLOBLIFNAIKPDKCEFHCBAA.siddall@denison.edu>

Hi Scott,

I must have a typo in my hosting lists message if you are putting your
lists in a /usr/local/majordomo/virtual-domain/lists/listname/ directory.
This should be a file, not a directory, and your *.config and other list
files should be in the "lists" directory, not a subdirectory called 
listname.


"Scott E. Siddall" wrote:
> 
> I'm running 1.94.4 on a Verio virtual private server (Free BSD) using Dan
> Liston's virtmaps/aliases/.cf recommendations that are in this list's
> archive.
> I apparently can't get majordomo to see the list files which are in the
> following hierarchy:
>         /usr/local/majordomo/virtual-domain/lists/listname/*      where * is the
> subscriber list, the config file, passwd files, etc.

Again, */listname/* should not exist, and */listname should be the basename
of your list, not a directory.  This is your subscriber file.  You are correct
that the config, password, intro, welcome and other files should live in this
same directory with {listname}.

> Archiving and digesting are running fine, but the lists command says that
> majordomo for the virtual-domain is serving no lists, and none of the config
> parameters are being applied.  According to Dan's recommendations, "Each of
> these directories must be set up with a majordomo.cf, and directories called
> lists, filters, digest and archive.  The digest and list directories each
> get subdirectories named after each majordomo list hosted for the virtual
> domain."  That's what I have (for a list named excom):

This is true, but the lists directory does not get a subdirectory named 
after the list, it gets the list filename itself.

> 
> /usr/local/majordomo/virtual-domain/majordomo.cf
>         /usr/local/majordomo/virtual-domain/lists/excom/excom.config, etc

Incorrect... should be
/usr/local/majordomo/virtual-domain/lists/excom
/usr/local/majordomo/virtual-domain/lists/excom.config
/usr/local/majordomo/virtual-domain/lists/excom-digest
/usr/local/majordomo/virtual-domain/lists/excom-digest.config
plus any passwd, intro, welcome, etc. files.

All your lists live in the same directory

> /usr/local/majordomo/virtual-domain/lists/excom/digest/excom-digest/001, etc
> /usr/local/majordomo/virtual-domain/lists/excom/archive/excom20010611, etc
> 
> The .cf file (in the virtual-domain directory) contains:
> 
> $whereami = "virtual-domain.org";
> $virtdir = "/usr/local/majordomo/virtual-domain";
> $whoami = "lists\@$whereami";
> $whoami_owner = "listmaster\@$whereami";
> $homedir = "/usr/local/majordomo";
> $listdir = "$virtdir/lists";
> $digest_work_dir = "$virtdir/digest";
> $log = "$virtdir/Log";
> 
> The alias file for a list named "excom" is:
> 
> virtual-domain-lists: "|/usr/local/majordomo/wrapper majordomo -C /usr/local/majordomo/virtual-domain/majordomo.cf"
> virtual-domain-excom: "|/usr/local/majordomo/wrapper resend -C /usr/local/majordomo/virtual-domain/majordomo.cf -l excom -h virtual-domain.org virtual-domain-excom-outgoing"

The "-h virtual-domain.org" would be better served by using the
resend_host = virtual-domain.org
in excom.config

> owner-virtual-domain-excom: listmaster@virtual-domain.org
> virtual-domain-excom-owner: owner-virtual-domain-excom
> virtual-domain-excom-request: "|/usr/local/majordomo/wrapper majordomo -C /usr/local/majordomo/virtual-domain/majordomo.cf -l excom"
> virtual-domain-excom-approval: owner-virtual-domain-excom
> virtual-domain-excom-outgoing: 
:include:/usr/local/majordomo/virtual-domain/lists/excom/excom,virtual-domain-excom-digestify,virtual-domain-excom-archiver

The correct line should be;
virtual-domain-excom-outgoing: 
:include:/usr/local/majordomo/virtual-domain/lists/excom,virtual-domain-excom-digestify,virtual-domain-excom-archiver

> virtual-domain-excom-archiver: "|/usr/local/majordomo/wrapper archive2.pl -f /usr/local/majordomo/virtual-domain/archive/excom/excom -a -M"
> virtual-domain-excom-digestify: "|/usr/local/majordomo/wrapper digest -r -C -c /usr/local/majordomo/virtual-domain/majordomo.cf -l excom-digest virtual-domain-excom-digest-outgoing"
> virtual-domain-excom-digest: virtual-domain-excom
> owner-virtual-domain-excom-digest: owner-virtual-domain-excom
> virtual-domain-excom-digest-owner: owner-virtual-domain-excom
> virtual-domain-excom-digest-request: "|/usr/local/majordomo/wrapper majordomo -C /usr/local/majordomo/virtual-domain/majordomo.cf -l excom-digest"
> virtual-domain-excom-digest-approval: owner-virtual-domain-excom
> 
> Does anyone see anything wrong here?  THANKS!!!!

Another thing to check is that your default "advertise" "noadvertise"
settings are not populated if you wish to let the "lists" command work.

Dan Liston



References:
Indexed By Date Previous: Virtual host can't find config?
From: "Scott E. Siddall" <siddall@denison.edu>
Next: List obliges all senders. Hmmm...
From: "Chris Sparnicht" <chris@grrn.org>
Indexed By Thread Previous: Virtual host can't find config?
From: "Scott E. Siddall" <siddall@denison.edu>
Next: List obliges all senders. Hmmm...
From: "Chris Sparnicht" <chris@grrn.org>

Google
 
Search Internet Search www.greatcircle.com