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.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT