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