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: Tue, 30 Apr 1996 17:21:23 -3100 (PDT)
To: majordomo-users @ greatcircle . com

Oops,  it was late when I answered this message and I made a mistake.
the -f xxxx option is not a directory its a base file name to which
archive2.pl will add the appropriate suffix e.g. YYMM.


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
> 
> 


----- End of forwarded message from bcerra -----


Follow-Ups:
Indexed By Date Previous: Re: It wasn't meant to be.
From: Mario Storti <mstorti@galileo.unl.edu.ar>
Next: Re: Archive problem
From: Crompton Administrator <admin@marconi.crompton.com>
Indexed By Thread Previous: Re: Archive problem
From: Michael Satterwhite <satterwh@insync.net>
Next: Re: Archive problem
From: Crompton Administrator <admin@marconi.crompton.com>

Google
 
Search Internet Search www.greatcircle.com