First, sorry for the blank message.
Here's what I found out about archiving.
Setup:
Settings in majordomo.cf:
$filedir = "/usr/local/majordomo/lists/archive";
$filedir_suffix = "";
@archive_dirs = ("$filedir/<listname>");
where listname is the name of a particular list. Note: you have to have
an entry for each list so if you had two lists being archived
it would look like:
@archive_dirs = ( "$filedir/listname1", "$filedir/listname2" );
This would be used for lists of name listname1 and listname2.
Then in /usr/local/lists/archive create directories for each list being
archived, so for example:
/usr/local/majordomo/lists/archive/listname1
and
/usr/local/majordomo/lists/archive/listname2
This takes care of the setup of majordomo, now you have to setup
the sendmail aliases.
/etc/aliases
listname1: "|/usr/local/majordomo/wrapper resend -l listname1 -h <your host>
listname1-outgoing"
<stuff deleted>
listname1-outgoing: :include:/usr/local/majordomo/lists/listname1,
"| /usr/local/majordomo/wrapper archive2.pl -f /usr/local/majordomo/lists/
archive/listname1/listname1.archive -a -m"
What will be created are files in /usr/local/majordomo/lists/archive/listname1
of the form:
listname1.archive.YYMM
This should be all that is needed to get archives working and
the get and index commands functional.
Much thanks to Bryan Curnutt from Stoner Associates, Inc. for all his help.
I'd like to thank the Academy of Motion Pictures, my colleagues, ooops.
Sorry, wrong speech.
Seriously, thanks to Bryan for all his help, without which I'd still be lost.
--
_______________________________________________________________________________
Mr. Erich L. Markert markert@euler.math.usma.edu
Systems Administrator TEL (914) 938-5624
Department of Mathematical Sciences FAX (914) 938-2409
United States Military Academy
West Point, NY 10996
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
|
|