Great Circle Associates Majordomo-Workers
(November 1995)
 

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

Subject: Re: another silly question
From: dwolfe @ risc . sps . mot . com (Dave Wolfe)
Date: Wed, 8 Nov 1995 08:46:44 -0600 (CST)
To: walter @ nexchi . com (Walter Torres)
Cc: majordomo-workers @ greatcircle . com (Majordomo developer's mailing list)
In-reply-to: <v02110100acc44f008a8d@[205.243.66.81]> from "Walter Torres" at Nov 6, 95 05:55:46 pm
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ Walter Torres writes: ]
> 
> 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>;
> 
> I added this to the majordomo.cf file right after the <$filedir = "$listdir";>
> line in the file.
> 
> It did not help.

Because you *added* the line instead of editing the existing line. The
@archive_dirs setting is further down in the file. Since majordomo.cf is
eval'ed, the last definition wins, so you really didn't change anything.

> > An alternative, indicated by the examples in sample.cf, might be (where
> > 'list1' and 'list2' are example list names and not literals):
> >
> >    @archive_dirs = ("$listdir/list1.archive", "$listdir/list2.archive");
> 
> If I understand this, it is stating explicatly (sp) what lists to create in
> the archive section. I would rather ot have to edit th .cf every time I
> want to add a new list. And no, I didn't try this tack.

Yes, you end up editing majordomo.cf every time you add an archived list
when you use this definition. Note that Mj doesn't create the archive
directories listed here, they must already exist, i.e. you must create
them as part of setting up the list.

-- 
 Dave Wolfe    *Not a spokesman for Motorola*  (512) 891-3246
 Motorola MMTG  6501 Wm. Cannon Dr. W. OE112  Austin  TX  78735-8598


References:
Indexed By Date Previous: Re: A human readable list configuration file.
From: "Roger B.A. Klorese" <rogerk@queernet.org>
Next: Re: another silly question
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
Indexed By Thread Previous: Re: another silly question
From: pdc@lunch.engr.sgi.com (Paul Close)
Next: Re: another silly question
From: Brent@GreatCircle.COM (Brent Chapman)

Google
 
Search Internet Search www.greatcircle.com