The majordomo.cf has "two" variables regarding archives.
# Majordomo will look for "get" and "index" files related to $list in
# directory "$filedir/$list$filedir_suffix", so set $filedir and
# $filedir_suffix appropriately. For instance, to look in
# /usr/local/mail/files/$list, use:
# $filedir = "/usr/local/mail/files";
# $filedir_suffix = ""; # empty string
# or to look in $listdir/$list.archive, use:
# $filedir = "$listdir";
# $filedir_suffix = ".archive";
Setting $filedir="/opt/majordomo/archive"; is fine, but what is
the $filedir_suffix set to?
I "AssUme" your suffix is set to ".archive", as that is default.
In this configuration, your alias for test2-archive is correct,
but, you should be using archive2.pl rather than archive.pl.
Does the /opt/majordomo/archive/test2.archive/ subdirectory
exist? Is it owned by majordomo?
You should also use -M instead of -m. This provides the y2K
compliant 4 digit date on the test2 file. You should end up
with;
/opt/majordomo/archive/test2.archive/test2.200309
and...
You might want to take a gander at the unofficial patches site
if you decide to use 4 digit years on your archive too.
Greatcircle.com did not catch their Y2K problem in this file.
Dan Liston
MICHAEL KHAN wrote:
> I am trying to start archiving but its not working. I did the following:
>
> 1) edit the Majordomo.cf file
> $filedir="/opt/majordomo/archive";
>
> 2) add the following line to Aliases file
> test2-archive: "|/opt/majordomo/wrapper archive
> -f /opt/majordomo/archive/test2.archive/test2 -m -a"
>
> 3) I copy from Tools dir archive2.pl to runtime dir
>
> Owner of archive dir is majordomo Permission 755.
> What else I need to do here?
>
> Mike.
> ---
> [This E-mail scanned for viruses by Declude Virus]
References:
|
|