RE: Web interface to purge hypermail archives

---------

From: Smolsky, Shawn J (shawn.j.smolsky@lmco.com)
Date: Wed Jan 12 2000 - 06:10:59 CST


Martin:

Thanks for the hot-tip on Unix.
Note: One must resequence the NNNN.html files to eliminate holes otherwise,
the index files do not get built completely because hypermail fills in
unused numbers and the index build stops at the new entry.

I have a tcl cgi-bin script that cleans archives via a web interface. The
script works fine for a few check-box selections but has a query overflow
when people select a lot do remove.
I was hoping something better existed. I think I will probably upgrade the
interface with some input boxes where one can enter "upcoming meetings" to
remove all messages with this string in the subject.

I'll post the script to this list after I've upgraded. If anybody want what
I have now let me known and I'll post it.

The mbox idea is good when one has local access to the system. Our
implementation has "owners" dispersed across our intranet.

I assume the hypetombox.pl routine handles attachments correctly when making
mboxes.

Best regards,
Shawn Smolsky

Lockheed Martin

-----Original Message-----
From: Kent Landfield [mailto:kent@landfield.com]
Sent: Tuesday, January 11, 2000 8:41 PM
To: joey@finlandia.Infodrom.North.DE
Cc: shawn.j.smolsky@lmco.com; hypermail@hypermail.org
Subject: Re: Web interface to purge hypermail archives

# > Is anybody aware of a web interface that assists one in purging junk /
old
# > messages from the archive?
# > We have a lot of "upcoming meeting" messages in our archives and would
like
# > to purge the periodically.

One is on the todo list. Not there yet.

# cd $archive
# rm -f `grep 'upcoming meeting' *|cut -d: -f1`

:) While this will work, I don't recommend it. If you have a copy of the
contents in mailbox format then just remove the messages from the mailbox
file and rebuild the archive.

# Joey
#
# PS: There's always an easier way :)

:) It's the outcome that gets a bit problematic. ;)

-- 
Kent Landfield                        Phone: 1-817-545-2502             
Email: kent@landfield.com             http://www.landfield.com/
Email: kent@nfr.net                   http://www.nfr.net/
Search the Usenet FAQ Archive at http://www.faqs.org/faqs/
Search the RFC/FYI/STD/BCP Archive at http://www.faqs.org/rfcs/

---------

This archive was generated by hypermail 2.1.5.