|
Subject: |
Re: MajorCool can't find correct lists dir |
|
From: |
"Shena Delian O'Brien" <shena @
darklock .
com> |
|
Organization: |
Darklock Communications |
|
Date: |
Fri, 27 Jul 2001 00:09:18 -0700 |
|
To: |
MajorDomo Users <majordomo-users @
GreatCircle .
COM> |
|
References: |
<200107270606.f6R66Gf21092@ravel.n2.net> |
Bill Houle wrote:
>
> Well, that about sums it up. We say it requires hacking code, you
> say you can't do it. Now what do you expect to happen?
I said I can't do it because I don't know how to do it. That's why I posted
here. I thought someone may have run into this before with MajorCool, or
might know a quick fix off the top of their heads.
> Why don't you look in your one true majordomo.cf and tell us what
> it says? Is it something like "/usr/local/majordomo/$DOMAIN/lists"?
if ( defined $ENV{"VIRTUAL"}) {
$listdir = "$homedir/$ENV{'FQDN'}/lists";
} else {
$listdir = "$homedir/lists";
}
That what you're looking for? Says FQND tells us which machine we're running
on, and FQND is defined in wrapper. $homedir is /usr/local/majordomo;
$ENV{'FQDN'} evidently resolves to www.whatever.com, and /lists is
self-explanatory. SO, majordomo is doing this correctly (obviously, as *it*
works).
I *read* in the MajorCool documentation or comment blocks somewhere that it
pulls the $listdir from majordomo.cf. Therefore it should use that same
block of code, or run it, or something... at least that's what I *thought*.
It *seemed* like a logical conclusion.
> However, you could modify MajorCool to extract the web equivalent of
> $DOMAIN from the CGI's URL prior to loading the majordomo.cf.
Great.
> But if you are not able to take on this task, and you can't convince
> Cobalt to similarly hack and support MajorCool, then maybe you should
> post to the new majordomo-jobs list and see if someone would be able
> to help with a quick little consulting gig?
Okay... sigh. There's no chance in hell that Cobalt is going to bother with
MajorCool. There's littler chance that I could pay someone to modify Perl
for me. And since the only reason I don't know how to program perl already
is because I had no previous need and little time for it, I suppose that's
the only option left.
> you are confusing mail vs web behavior indicates that you have a minor
> little gap in your knowledge, even if your other admin skills may be
> top notch...
How did I confuse mail vs web behavior?
--
Shena Delian O'Brien * http://www.darklock.com/shena/
The Graphics Kitty! * http://www.darklock.com/abstract/
Fantasy Age * http://www.darklock.com/fantasy/
|
|