Great Circle Associates Majordomo-Users
(October 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Setting up archives (again)
From: dwolfe @ risc . sps . mot . com (Dave Wolfe)
Date: Mon, 30 Oct 1995 12:47:27 -0600 (CST)
To: chris @ sparkie . osl . state . or . us (Chris Adams)
Cc: majordomo-users @ greatcircle . com (Majordomo user's mailing list)
In-reply-to: <Pine.SUN.3.91.951019080513.9300B-100000@sparkie.osl.state.or.us> from "Chris Adams" at Oct 30, 95 08:22:36 am
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ 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


Follow-Ups:
References:
Indexed By Date Previous: Re: list config problem
From: "Siberia" <klong@phoenix.net>
Next: unknown mailer error 139
From: Clovis Lacerda <clovis@bbs.elogica.com.br>
Indexed By Thread Previous: Setting up archives (again)
From: Chris Adams <chris@sparkie.osl.state.or.us>
Next: Re: Setting up archives (again)
From: Chris Adams <chris@sparkie.osl.state.or.us>

Google
 
Search Internet Search www.greatcircle.com