mhonarc-users

Re: Original source file name?

2001-05-31 13:03:42
On Wed, 30 May 2001 15:06:58 -0700 
Earl Hood <ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu> wrote:

On May 30, 2001 at 12:27, J C Lawrence wrote:

When running MHonArc across an MH-style mailstore, is it possible
to get the name of the physical file that resulted in a
particular HTML message?

No.

Damn.

I think sites that provide access to the original raw data use the
message-id as a handle for getting to it since MHonArc gives you
access to the message-id.  Therefore, whatever storage system you
use for the raw data, you will need to be able to find messages by
message-id.

<nod>  That's workable.

Since you mentioned that you have a MH-style mailstore, how
difficult would it be to have the filename of each message be the
actual message-id?  Therefore, you can access the original mail
message just by a simple file open operation using the message-id
as the filename (with whatever pathname prefix).

Hurm.  Yeah, It would be trivial to write a little tool to just
symlink each message against its MessageID.  (I can't do renames s
the mailstore is regularly processed by real MH tools) <testing>
Yup, that'll work.  Thanks.

-- 
J C Lawrence                                       claw(_at_)kanga(_dot_)nu
---------(*)                          http://www.kanga.nu/~claw/
The pressure to survive and rhetoric may make strange bedfellows

<Prev in Thread] Current Thread [Next in Thread>