Oregon State Library
On Mon, 30 Oct 1995, Dave Wolfe wrote:
> [ Chris Adams writes: ]
> > I posted a message last week about setting up archives, but nobody
> > responded, which surprised me. I am using Majordomo 1.92 and would like a
> > basic step-by-step summary of setting up an archive. The FAQ addresses
> > some of it, but since I am just learning Perl, I am a little confused. I
> > have attempted it, but it doesn't seem to work.
> Well, Chris, don't you suppose that if someone had written down a
> complete step-by-step it would be available at greatcircle.com if not
> already in the Mj distribution? What you're asking for is a lot of
> trouble. The way this usually works is that you try your level best and
> post your specific (Majordomo-related) problem(s) to this list. Then
> folks can help you solve your problem. That way it seems like the job
> is simple and manageable instead of like folks are doing everything for
> you. :-)
> If you basically have your list working and just want to add archiving,
> try this:
> 1) If it's not already there, copy contrib/archive2.pl to your
> installation home directory (where wrapper lives). You may have
> already installed it as 'archive'; if so, then change the name in
> step 4 to conform.
> 2) Create a directory for the archives and be sure Majordomo has full
> permissions in it, e.g.:
> mkdir /path/to/majordomo/lists/listname.archive
> chmod 0770 /path/to/majordomo/lists/listname.archive
> chown majordom.majordom /path/to/majordomo/lists/listname.archive
> 3) Edit your majordomo.cf file to specify the archive directory:
> $filedir = "$listdir";
> $filedir_suffix = ".archive";
> @archive_dirs = <$listdir/*.archive>;
> 4) Add the following alias ('listname' is generic: use your list name):
> listname-archive: "|/path/to/majordomo/wrapper archive2.pl -a -m
> -f /path/to/majordomo/lists/listname.archive/listname"
> 5) Change your outgoing alias to also deliver to the archive alias:
> listname-outgoing: :include:/path/to/majordomo/lists/listname,listname-archive
> 6) Run newaliases.
> This works for me, but YMMV. Other problems crop up because of system
> differences and your preferences, but this should give you a start.
> Dave Wolfe *Not a spokesman for Motorola* (512) 891-3246
> Motorola MMTG 6501 Wm. Cannon Dr. W. OE112 Austin TX 78735-8598