Jasper Slits writes:
When I try to remove the folder 'Completed' Thunderbird tries to move it to the Trash folder of my Maildir (/var/vmail/mydomain.nl/jasper) using the IMAP command rename:rename #shared.employees.Projects.Completed INBOX.Trash.Completed This fails with the response: 'Cannot move a folder to a different account' from the Courier IMAP server. The source for this error is in imap/imapd.c, line 3901 : if (strcmp(mi1->homedir, mi2->homedir)) { *errmsg="Cannot move a folder to a different account."; return -1; } The error makes sense from a security point of view (I think) but it would be a good idea to extend the if statement with something that is virtual shared folder aware. Maybe is_sharedsubdir() or maildir_shareddir() is of any use here.
A shared folder is a folder that's shared from another account. They're one and the same.
The different account may be located on a different partition, so the folder could not be technically moved in the first place.
Or, the different account may be owned by a different system gid, due to some local policy.
Bottom line -- folders cannot be safely moved between accounts.
pgpOumAbEOzCB.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
