Great Circle Associates Majordomo-Users
(February 1995)
 

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

Subject: Re: archiving messages
From: Bryan Curnutt <curnutt @ Stoner . COM>
Date: Tue, 21 Feb 1995 18:34:49 -0600 (CST)
To: siberia @ usis . com
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <199502192120.PAA19316@usis.com> from "Kimberly Long" at Feb 19, 95 03:19:55 pm

Kimberly Long wrote:
> 
>  I can subscribe to 
> coe-digest just fine.  What I am having problems with is getting my 
> coe list archived.
> [...]
> 
> coe:"|/usr/local/majordomo/wrapper resend -l coe -h usis.com coe-outgoing"
> coe-outgoing::include:/usr/local/majordomo/lists/coe,
> owner-coe:siberia
> owner-coe-outgoing:owner-coe
> coe-request: "|/usr/local/majordomo/wrapper request-answer coe"
> coe-approval:siberia
> coe-digest: /usr/local/majordomo/wrapper digest -r -C -l coe-digest coe-digest-outgoing
             ^^^^^
     Note that you need a "|" at the beginning of the alias to tell
     sendmail (or whatever) that it should invoke wrapper as a program,
     rather than appending to it as if it were a mail folder...

> coe-digest-outgoing::include:/usr/local/majordomo/lists/coe-digest
> coe-archive: "'/usr/local/majordomo/wrapper archive2.pl -a -m -f
               ^^^
     Also a single-quote here that you don't want (presumably a typo)

> /usr/local/majordomo/archive/coe.archive"
> owner-coe-digest:owner-coe
> owner-coe-digest-outgoing:owner-coe
> coe-digest-request:"|/usr/local/majordomo/wrapper request-answer coe-digest"
> coe-digest-approval:coe-approval

There's no magic that invokes the digesting or archiving (at least if
there is, I don't use it on my lists...), so you'll want to include
those in your coe or coe-outgoing alias to have sendmail (or smail or
whatever) invoke the digesting and archiving for you.  Here's what I'd
do with these aliases:

coe:"|/usr/local/majordomo/wrapper resend -l coe -h usis.com coe-outgoing"
coe-outgoing::include:/usr/local/majordomo/lists/coe,
 "|/usr/local/majordomo/wrapper digest -r -C -l coe-digest coe-digest-outgoing",
 "|/usr/local/majordomo/wrapper archive2.pl -a -m -f /usr/local/majordomo/archive/coe.archive",
owner-coe:siberia
owner-coe-outgoing:owner-coe
coe-request: "|/usr/local/majordomo/wrapper request-answer coe"
coe-approval:siberia
coe-digest:coe
coe-digest-outgoing::include:/usr/local/majordomo/lists/coe-digest
owner-coe-digest:owner-coe
owner-coe-digest-outgoing:owner-coe
coe-digest-request:"|/usr/local/majordomo/wrapper request-answer coe-digest"
coe-digest-approval:coe-approval

You'll probably notice that the above aliases coe-digest to coe, so
if someone sends mail to coe-digest it is treated just as if it were
sent to coe (including being included in the next digest...)  I don't
know if other folks handle this differently.

-- 
Bryan Curnutt                                  Stoner Associates, Inc.
bryan.curnutt@stoner.com                 5177 Richmond Ave., Suite 900
+1 713 626 9568 voice  +1 713 622 7832 fax            Houston TX 77056



References:
Indexed By Date Previous: Can't display message_footer!
From: "Phil Jung (KD6SWQ)" <pjung@bigbird.scu.edu>
Next: Header fields in Message body.
From: Eric Jones <eric@tacoma.nwrain.net>
Indexed By Thread Previous: archiving messages
From: "Kimberly Long" <siberia@usis.com>
Next: help needed with error messages
From: agoodloe@best.com (Amy Goodloe)

Google
 
Search Internet Search www.greatcircle.com