[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Original source file name?



On Wed, 30 May 2001 15:06:58 -0700 
Earl Hood <ehood@hydra.acs.uci.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@kanga.nu
---------(*)                          http://www.kanga.nu/~claw/
The pressure to survive and rhetoric may make strange bedfellows


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]