Great Circle Associates Majordomo-Users
(May 2000)
 

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

Subject: Re: mail list archive
From: Dan Liston <dan @ sonny . org>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Mon, 08 May 2000 12:42:04 -0500
To: clark <clark @ pilot . msu . edu>
Cc: majordomo-users @ GreatCircle . COM
References: <200005081240.IAA69880@pilot004.cl.msu.edu>

It does not quite work like that Daniel.  The wrapper just provides
a level of security keeping majordomo in it's own sandbox when it 
runs.  I also "assume" you are running sendmail.

Archiving requires some preconfiguration steps.  You need to be
aware of the $filedir and $filedir_suffix settings in your
majordomo.cf file.  You have to create subdirectories based on
those settings, and create or change some aliases for the new
procedure.

Example, if majordomo.cf has 
$homedir = "/var/majordomo";
$listdir = "$homedir/lists";
$filedir = "$listdir";
$filedir_suffix = ".archive";
and the list you want to archive is
test
You would need to 
mkdir /var/majordomo/lists/test.archive
chmod 755 /var/majordomo/lists/test.archive
You would also need aliases like
test: "|/var/majordomo/wrapper resend -l test test-outgoing"
test-out: :include:/var/majordomo/lists/test,test-archive
test-archive: "|/var/majordomo/wrapper archive2.pl -f 
	/var/majordomo/lists/test.archive/test -a -M"
owner-test: postmaster,
test-approval: owner-test

Note the beginning and ending quotes for test-archive.  If you
do not put it all on one line, the second line must be indented.

Dan Liston

clark wrote:
> 
> Hello:
> 
> I've read the docs, faq, etc. I'm a newbie to majordomo. What is the switch I
> need to add to wrapper to get it to archive?
> 
> Daniel Clark
> Information Technology Professional
> MSU Computer Laboratory
> phone: (517) 355-4500 x191
> fax: (517) 353-9847
> pager: (517) 794-3790
> text-paging: clark@pager.msu.edu


References:
Indexed By Date Previous: Re: mail is only bring returned to me, whats going on
From: Kaspar Stromme <kxs156@psu.edu>
Next: Denying users/domains access
From: Gunnar Wolf <gwolf@campus.iztacala.unam.mx>
Indexed By Thread Previous: mail list archive
From: clark <clark@pilot.msu.edu>
Next: Re: mail list archive
From: Dan Liston <dliston@netscape.com>

Google
 
Search Internet Search www.greatcircle.com