Dear list,

I'd like to improve maildir_rename() as I was hitting
the problem, that I could not move a shared virtual folder to my
personal trash-folder.

rename #shared.foo.bar INBOX.Trash.bar

The problem can be found in an e-mail from Aug 2006 here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg27332.html
together with an answer from Sam Varshavchik.

I'd like to have your thoughts about how to explicitly
improve the rename function and I'd feel quite happy
if you would improve the pseudo code that follows:


- create new maildir
- copy mails from old maildir to new maildir
- delete mails from old maildir
- copy the acls from old maildir to new maildir
- delete acsl from old maildir
- delete old maildir

- repeat for every subfolder of old maildir


What do you think?



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

Reply via email to