Re: [Fwd: Ideas]

From: Kent Landfield <kent_at_hypermail-project.org>
Date: Wed, 6 May 1998 09:06:29 -0500 (CDT)
Message-Id: <199805061406.JAA12002_at_landfield.com>


# > Byron C. Darrah wrote:
# Daniel Stenberg responded:
#
# > This way, all of the attachments for a particular message are grouped
# > together, which makes them easy to find, and easy to delete when one
# > wishes to remove message 0042 from the archive.
#
# Excuse me, but why would you want to remove message 0042? You'd ruin a bunch
# of links and generally mess up. It would be much better to remove that
# particular mail from the mbox-file, remove all hypermail-generated stuff and
# then regenerate the entire archive...

This has been a problem for a while. I cheat in that I have a utility msg2archive that saves the inbound message in Unix mailbox format and then sends the message to hypermail for processing. This will be available in the next release.

Not all people have been keeping their messages in a mailbox format. Many have been simply sending them into hypermail and that is the only version they have. Now for some reason (i.e. spam) they want to delete a message from their archives. Today that takes a great deal of hand-mucking...

It would not be that hard to automate that. I think it is on the list of future enhancements as well.

# > It also lets the
# > attachments keep their original file names, if they such is given in their
# > mime headers (and it usually is).
#
# I thought about this too, and I may go back at trying to use this method too,
# but...

Long as it is a basename and not a path name... :) Wouldn't want an octet stream of /etc/ or some system file. ;)

# 1. The file name used in the mail doesn't necessary have to be usable or even
# preferable to use. I.e if it contains '/' in a unix machine, if it contains
# whitespaces or if it contains '\' in an MS-OS machine. There would have to
# be a very complicated is_this_a_sane_filename() function to verify that.

Yes. ;)

# 2. Nothing prevents the same mail to contain several attachments that use the
# same file name although with different contents.

I'd never thought about it but it is possible especially if the filename is a set of path names and not base file names.

-- 
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/
Please send comp.sources.misc related mail to kent_at_landfield.com
Search the Usenet Hypertext FAQ Archive at http://www.faqs.org/faqs/
Received on Wed 06 May 1998 04:08:23 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:49 PM GMT GMT