Great Circle Associates Majordomo-Users
(April 1996)
 

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

Subject: Re: Archive problem
From: bcerra @ intellicorp . com
Date: Mon, 29 Apr 1996 22:50:03 -0700 (PDT)
To: admin @ marconi . crompton . com (Crompton Administrator)
Cc: majordomo-users @ greatcircle . com
In-reply-to: <Pine.LNX.3.91.960430001117.22525A-100000@marconi.crompton.com> from "Crompton Administrator" at Apr 30, 96 00:17:59 am

Crompton Administrator writes:
> 
> 
> What is the path speciifed in the archive2.pl command line 
> -f xxxx   - is this a directory or filename?

It's a directory name.  Here's the one I use:

PowerModel-Users-archive: "|/usr/local/majordomo/wrapper archive -f /usr/local/majordomo/lists/powermodel-users.archive/powermodel-users -m -a"

It creates files powermodel-users.YYMM in directory
usr/local/majordomo/lists/powermodel-users.archive/powermodel-users 
> 
> I keep getting invalid directory messages.

You have to add the file to the @archive array in majordomo.cf.
I figured this out by looking at the archive2.pl code.  The 
documentation in majordomo.cf was a little fuzzy.  All archive
dirs must be in the array.  Here's the one we use:

@archive_dirs = ( "/usr/local/majordomo/lists/sample.archive", 
		  "/usr/local/majordomo/lists/powermodel-users.archive", 
		  "/usr/local/majordomo/lists/livemodel-users.archive", 
		  "/usr/local/majordomo/lists/livemodel4r3-users.archive");


> 
> I have   -f /usr/local/mail/archive/test.archive
> 
> and this tree exists with test.archive as the last DIRECTORY.
> All have the correct permissions and uid/gid majordomo.
> 
> Doug
> 
> 



Follow-Ups:
References:
  • Archive problem
    From: Crompton Administrator <admin@marconi.crompton.com>
Indexed By Date Previous: Archive problem
From: Crompton Administrator <admin@marconi.crompton.com>
Next: Re: Archive problem
From: Crompton Administrator <admin@marconi.crompton.com>
Indexed By Thread Previous: Archive problem
From: Crompton Administrator <admin@marconi.crompton.com>
Next: Re: Archive problem
From: Crompton Administrator <admin@marconi.crompton.com>

Google
 
Search Internet Search www.greatcircle.com