[Mailman-Users] Setting up MHonArc as Archiver on linux

Steve Eichblatt eichblatt at fnal.gov
Wed Apr 5 20:33:29 CEST 2000


Well, I tried this. Nothing. 

I also tried setting it to 

PUBLIC_EXTERNAL_ARCHIVER = '/bin/cat /etc/hosts >! /home/mailman/archives/private/testlist/archive.testlist'

This command, when called alone, works (ie copies /etc/hosts to
archive.testlist). 

So where/when is PUBLIC_EXTERNAL_ARCHIVER supposed to be called?

Steve

On Wed, 5 Apr 2000, Christopher P. Lindsey wrote:

> > PUBLIC_EXTERNAL_ARCHIVER = 'cat - > /tmp/archive.%(listname)s ; cat - >
> > /home/mailman/archives/private/%(listname)s/archive.%(listname)s'
> > PRIVATE_EXTERNAL_ARCHIVER = 'cat - > /tmp/archive.%(listname)s ; cat - >
> > /home/mailman/archives/private/%(listname)s/archive.%(listname)s'
> > 
> > and NOTHING has been written, even in /tmp !!
> 
> Do you need to supply a pathname to cat?  Incidentally, the above won't
> work as you expect, but using tee would fix it:
> 
>    PUBLIC_EXTERNAL_ARCHIVER = '/usr/bin/tee /tmp/archive.%(listname)s > /home/mailman/archives/private/%(listname)s/archive.%(listname)s'
> 
> I'm not sure where 'tee' resides on your system, though.  I also haven't
> tried this on the 2.0 release candidates; we're using 1.2 beta1 from
> the older CVS tree.
> 
> Chris
> 
> ------------------------------------------------------
> Mailman-Users maillist  -  Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users
> 






More information about the Mailman-Users mailing list