RE: Web interface to purge hypermail archives

From: Smolsky, Shawn J <shawn.j.smolsky_at_lmco.com_at_hypermail-project.org>
Date: Wed, 12 Jan 2000 07:10:59 -0500
Message-id: <28165E37102DD21188950000F80844AE0673ADD3_at_emss04m03.ems.lmco.com>


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_at_landfield.com] Sent: Tuesday, January 11, 2000 8:41 PM
To: joey_at_finlandia.Infodrom.North.DE
Cc: shawn.j.smolsky_at_lmco.com; hypermail_at_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_at_landfield.com             http://www.landfield.com/
Email: kent_at_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/
Received on Wed 12 Jan 2000 02:11:51 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT