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