Kent Landfield writes:
> Need to worry about uniqueness, does a valid name exist and
> what to fall back to in the event there is no decernable
> information supplied. Need to also assure that only the
> base filename is used (/etc/passwd would be passwd).
How about creating a subdirectory for each message containing attachments, and then using the name specified by the user?
Benefits:
Don't have to worry about unique names across different messages
All the attachments for a given message are in the same place
Drawbacks:
Consumes more inodes (at least two per message w/ attachments)
Also, you'd want to be able to specify that some types of attachments, just get dumped. For example, you might not want a file for every message with a vcard attachment.
-- A.M. Kuchling http://starship.skyport.net/crew/amk/ They must often change, who would be constant in happiness or wisdom. -- ConfuciusReceived on Wed 10 Jun 1998 10:29:26 PM GMT
This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:49 PM GMT GMT