Great Circle Associates Majordomo-Users
(June 1996)
 

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

Subject: Re: On using archive2.pl
From: lisah @ bdc . cirrus . com (Lisa Henry)
Date: Mon, 3 Jun 1996 11:13:32 -0700
To: majordomo-users @ greatcircle . com

I was finally able to get the @archive_dirs variable cofigured correctly,
but it seemed to me that I didn't want to put list-specific entries into
the majordomo.cf file.  Shouldn't that go somewhere else?  I would like
to use an external text file as the array and poing archive_dirs to that
file instead of having to edit majordomo.cf everytime I add a list, but
I'm going to have to learn perl first...  

Any ideas?

Lisa

> From majordomo-users-owner@GreatCircle.COM Sun Jun  2 20:04:23 1996
> From: bcerra@intellicorp.com
> Subject: Re: On using archive2.pl
> To: palopez@colciencias.gov.co (Pedro Alejandro Lopez Valencia)
> Date: Sun, 2 Jun 1996 19:57:18 -0700 (PDT)
> Cc: majordomo-users@greatcircle.com (mdu)
> X-Mailer: ELM [version 2.4 PL24 ME7a]
> Mime-Version: 1.0
> Content-Type: text/plain; charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
> Sender: majordomo-users-owner@GreatCircle.COM
> Content-Length: 1715
> 
> Pedro Alejandro Lopez Valencia writes:
> > 
> > Yes, that is the real strange part of it. I wonder if I am doing something
> > wrong or archive2.pl is broken under perl 5.002.
> > In my setup @archive_dirs is:
> > 
> > @archive_dirs = ("/home3/majordomo/archive/test");
> > 
> > and the alias is
> > 
> > "|/home3/majordomo/bin/wrapper archive2.pl -f
> > /home3/majordomo/archive/test -d -a"
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
>   The problem is that @archive_dirs needs a directory
>   entry, while the alias for archive2.pl actually needs a 
>   "base" filename, not a directory.  Something like 
> 
>   "|/home3/majordomo/bin/wrapper archive2.pl -f /home3/majordomo/archive/test/test -d -a"
> 
>   would create a file test.960601 in the directory.
> 
>   This is one of the many confusing majordomoisms!
> 
>   Beth
> 
> 
> > 
> > majordomo aborts with a can't write, is a directory warning.
> > 
> > If I modify the script adding a /test pointing to a file as per
> > instructions in the archive2.pl code (found after some digging), majordomo
> > complains that I am not using a legal directory (it is not in
> > @archive_dirs). I am considering adding a slash at the end of the path in
> > the sendmail alias and see what happens. Perhaps I have to force
> > sh directory recognition?
> > 
> > -- 
> > P. Alejandro Lopez-Valencia | Tropical Ecologist, Conservation Biologist 
> > Asesor                      | Main:  palopez@ecology.umsl.edu 
> > Division de sistemas de     | Alternate: palopez@colciencias.gov.co
> > Informacion-COLCIENCIAS     | WWW: http://ecology.umsl.edu/~palopez/
> > --------------------------------------------------------------------------
> > The Hermit?        Verum sine mendatio, certum et verissimum.  
> > Why?               Satiyat nasti paro dharma! 
> > 
> > 
> > 
> 


Follow-Ups:
Indexed By Date Previous: Majordomo and Linux...
From: Robert Glover <robg@F-Body.org>
Next: Re: Majordomo and Linux...
From: Patrick Wiseman <lawppw@gsulaw.gsu.edu>
Indexed By Thread Previous: Re: On using archive2.pl
From: Pedro Alejandro Lopez Valencia <palopez@colciencias.gov.co>
Next: Re: On using archive2.pl
From: "J. Hopkinson" <J.F.L.Hopkinson@dl.ac.uk>

Google
 
Search Internet Search www.greatcircle.com