Great Circle Associates Majordomo-Workers
(November 1995)
 

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

Subject: Re: another silly question
From: "Torin/Darren/Who Ever..." <torin @ daft . com>
Organization: Discordian Alliance For Teaching
Date: Wed, 08 Nov 1995 01:26:23 -0800
To: walter @ nexchi . com (Walter Torres)
Cc: majordomo-workers @ GreatCircle . COM
In-reply-to: Message from walter@nexchi.com (Walter Torres) of "Mon, 06 Nov 1995 17:55:46 CST."

Walter Torres spoke unto the world and said:
>Walter Torres first wrote:
>>> I get the error:    Invalid archive directory.  Aborting.

>Dave said back:
>> You didn't set @archive_dirs in majordomo.cf properly. For example,
>> given:
>>
>>    $filedir = "$listdir";
>>    $filedir_suffix = ".archive";
>>
>> then:
>>
>>    @archive_dirs = <$listdir/*.archive>;

This still isn't right.  You told it that archive_dirs can have 0 or
more /'s, any character, and then "archive".

Try:
@archive_dirs = ( <$listdir/[a-z0-9][-a-z0-9]*\.archive> );

>But now I get this...
>
>   ----- Transcript of session follows -----
>/usr/local/mail/majordomo-1.93/majordomo.cf not readable; stopped at
>/usr/local/mail/majordomo-1.93/resend line 55.
>554 "|/usr/local/mail/majordomo-1.93/wrapper resend -l asap-talk -h
>buddha.nexchi.org asap-talk-outgoing" ... unknown mailer error 255

Walter put the attached file in your md directory and run
./wrapper test.  I've extended it some to check for more faults.  It
should come up with reasonable values.  It will also tell you why
majordomo.cf is not readable if it isn't.

If you'd like you can call me tomorrow at work or on the pager and I
can help you with this.

Darren
<torin@daft.com> <http://www.daft.com/~torin/>    <tnd@iswp.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Do you have your clothes on? I probably don't. Take yours off. Feel better. @
@ Sysadmin, webweaver, postmaster for hire.  C and Perl programmer and tutor. @

#!/usr/local/bin/perl
# $Id: test,v 1.3 1995/11/08 09:16:24 majordom Exp $
# configuration test for majordomo
# provided with majordomo, modifications by darren stalder <torin@daft.com>
#
 
print "euid is: $>\n";
print "egid is: $)\n";
print "ruid is: $<\n";
print "rgid is: $(\n";

print <<"--end--";
PATH = $ENV{PATH}
HOME = $ENV{HOME}
CF   = $ENV{MAJORDOMO_CF}
--end--

open(CF, $ENV{MAJORDOMO_CF}) || warn "unable to open $ENV{MAJORDOMO_CF}: $!";

# end of ~majordom/test

Follow-Ups:
Indexed By Date Previous: Re: A human readable list configuration file.
From: "Roger B.A. Klorese" <rogerk@queernet.org>
Next: Re: A human readable list configuration file.
From: Chan Wilson <cwilson@slurp.neu.sgi.com>
Indexed By Thread Previous: Re: another silly question
From: Brent@GreatCircle.COM (Brent Chapman)
Next: Re: another silly question
From: dwolfe@risc.sps.mot.com (Dave Wolfe)

Google
 
Search Internet Search www.greatcircle.com