Can't courier do a rename while moving the file? (Isn't that exactly the concept of a move? ...in Unices anyway, and typically any other OS too?) It has to come up with the new UID anyway, why not just do so before the move is done? -- Or at worst, after an initial move to a temp file?
Yes, I know I'm talking out of my a**. I have no idea how courier handles such things. But wouldn't it be possible... at least in theory?
Even if so, I can't really argue -- without some exp. at implementing these things, and I have exactly "zero" -- as to whether it's a "Good Idea(tm)" at all. ... E.g. Regenerating UID's might then require renaming EVERY file in a folder. That's probably bad. ;) -- Although I can see ways around even that with an intelligently organized naming structure.
So, I'm just asking.
-jab
On Monday, Mar 10, 2003, at 16:42 US/Central, Sam Varshavchik wrote:
Mitch \(WebCob\) writes:
Ok, so maybe I'm crazy, but couldn't the UID be generated in a reversable
form from the filename itself? Thereby eliminating the database and allowing
a message to keep it's UID across file moves?
A UID is a numerical counter. Some have advocated inserting the UID into the filename. That's not going to work for a number of reasons (think moving a message to a different folder).
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
