Sam Varshavchik wrote: >> - repeat for every subfolder of old maildir >> >> - delete all old folders, alcs, mails. >> >> In case of an error in between inform the user: An error has >> occured: strerror(errno). > > This is not acceptable. You cannot leave a partially-copied maildir in > place.
Do you think about cleaning up after an error? Why is it unacceptable to leave partially copied maildirs in place? Whats wrong on "An error occured, inform the user about the error, let him decide what to do"? > >> Keeping another IMAP session from accessing either folder: >> >> lock the maildir, either do it folder by folder, during the copy >> process, >> which will be annoying for the case someone is accessing a particular >> folder, or lock them all in a row before doing actions. Inform the user: >> Folder foo is locked by user/ip/host and could not be locked. >> >> Do you think thats possible? > > No, I don't think that's possible, not without a lot of work. > What exactly is missing for having locks? Please explain more verbosely. Kind regards Thomas Reifferscheid ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
