Great Circle Associates Majordomo-Workers
(September 2000)
 

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

Subject: Re: re-indexing archives (was Re: setting umask for archives ...)
From: Jason L Tibbitts III <tibbs @ math . uh . edu>
Date: 07 Sep 2000 12:51:07 -0500
To: majordomo-workers @ GreatCircle . COM, mj2-dev @ csf . colorado . edu
In-reply-to: SRE's message of "Thu, 07 Sep 2000 10:27:06 -0700"
References: <Brock Rozen's message of "Thu, 7 Sep 2000 16:31:09 +0200 (IST)"> <Pine.LNX.4.21.0009071629270.19551-100000@rina.torah.org> <4.3.1.0.20000907102358.00b84870@pop.climber.org>
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

>>>>> "S" == SRE  <eckert@climber.org> writes:

S> I prefer the ability to index a Unix-style mailbox as an archive... then
S> I can edit as I please, cut/paste/etc, and run the re-indexer to fix up
S> the offsets.

So you delete message N.  Someone (or worse, the digest builder) requests
message N+5 and ends up getting N+6 because you deleted a message out of
the archive but the system has no way of knowing that.

Message numbers are supposed to be _persistent_.  Perhaps it is a naive
assumption to think that an integer is sufficient, but I don't want to have
to use Message-IDs (which are not unique, no matter what you might want to
believe) or an MD5 sum of the article (which has an even worse problem in
that you can't even edit one character in the article without changing its
ID).

S> All that is required is the same thing Eudora does: when storing a msg
S> in a file full of msgs, make sure the ONLY line that matches /^From / is
S> the first line of an email header.

It's way more complicated than that (you have neglected Content-Length:),
but yes, we do know how to do it.  The problem is not in building the
index, it's in preserving persistence of article numbers across the changes
that you might make.

 - J<




Follow-Ups:
References:
Indexed By Date Previous: re-indexing archives (was Re: setting umask for archives ...)
From: SRE <eckert@climber.org>
Next: Re: Mj2: Re: re-indexing archives (was Re: setting umask for archives ...)
From: SRE <eckert@climber.org>
Indexed By Thread Previous: re-indexing archives (was Re: setting umask for archives ...)
From: SRE <eckert@climber.org>
Next: Re: Mj2: Re: re-indexing archives (was Re: setting umask for archives ...)
From: SRE <eckert@climber.org>

Google
 
Search Internet Search www.greatcircle.com