Luc Germain schrieb:

Actually, I'm pretty sure this has been fixed in 2.1.14 (now that I've
done the research and couldn't come up with a code path that would cause
this ;-).


Could you try the new version and let me know?




I installed 2.1.14 on all servers in the murder, and now I can successfully
do a rename of a user between the backend servers (good!) BUT only if the
user doesn't have subdirectories in his mailbox.



Are the changes from 2.1.13 to 2.1.14 also in 2.2-cvs ? I setup a test-murder with two backends, one frontend and one mupdate-master. Everything seems to work except renaming/transferring mailboxes with similar behaviour.


cyradm on the frontend (this is unchanged; its a test-setup):

frontend>lm
user/test/Folder1/Folder2/[EMAIL PROTECTED] (\HasNoChildren)
user/test/Folder1/[EMAIL PROTECTED] (\HasChildren)
user/test/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED] (\HasNoChildren)
user/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED]
frontend>rename user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] linux2
renamemailbox: Mailbox does not exist
frontend>rename user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] linux2!default
renamemailbox: Mailbox does not exist
frontend>xfermailbox user/[EMAIL PROTECTED] linux2
xfermailbox: Unrecognized command
frontend>

cyradm on the first backend:

linux1>lm
user/test/Folder1/Folder2/[EMAIL PROTECTED] (\HasNoChildren)
user/test/Folder1/[EMAIL PROTECTED] (\HasChildren)
user/test/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED] (\HasNoChildren)
user/[EMAIL PROTECTED] (\HasChildren)
linux1>rename user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] linux2
renamemailbox: Unknown/invalid partition
linux1>xfer user/[EMAIL PROTECTED] linux2
xfermailbox: Mailbox does not exist

cyradm on the second backend:

linux2>lm
user/[EMAIL PROTECTED] (\HasNoChildren)
linux2>rename user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] linux1
renamemailbox: Unknown/invalid partition
linux2>xfer user/[EMAIL PROTECTED] linux1
xfermailbox: Mailbox does not exist

I have allowusermoves: 1 in all imapd.conf files and virtual domain support and altnamespace and unixhierarchysep all turned on. What could be the problem ? All servers authenticate against each other as a global admin using auxprop mysql and everything else seems to work as expected but xfer and rename! Renaming a mailbox without moving it to another server also works:

linux1>rename user/[EMAIL PROTECTED] user/[EMAIL PROTECTED]
linux1>lm
user/another-name/Folder1/Folder2/[EMAIL PROTECTED] (\HasNoChildren)
user/another-name/Folder1/[EMAIL PROTECTED] (\HasChildren)
user/another-name/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED] (\HasNoChildren)
linux1>rename user/[EMAIL PROTECTED] user/[EMAIL PROTECTED]
linux1>lm
user/another-name/Folder1/Folder2/[EMAIL PROTECTED] (\HasNoChildren)
user/another-name/Folder1/[EMAIL PROTECTED] (\HasChildren)
user/another-name/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED] (\HasChildren)
user/[EMAIL PROTECTED] (\HasNoChildren)


--Christian
---------- cyrus Mon Sep 22 16:50:28 2003

<1064242228<4 RLIST "" ""
>1064242228>* LIST (\Noselect) "/" ""
4 OK Completed
<1064242230<5 RLIST "" "*"
>1064242230>* LIST (\HasChildren) "/" "user/[EMAIL PROTECTED]"
* LIST (\HasChildren) "/" "user/test/[EMAIL PROTECTED]"
* LIST (\HasChildren) "/" "user/test/Folder1/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/test/Folder1/Folder2/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/[EMAIL PROTECTED]"
* LIST (\HasNoChildren) "/" "user/[EMAIL PROTECTED]"
5 OK Completed
<1064242283<6 RENAME user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] linux2
>1064242283>6 NO Mailbox does not exist
<1064242299<7 RENAME user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] linux2!default
>1064242299>7 NO Mailbox does not exist
<1064242307<8 XFER user/[EMAIL PROTECTED] linux2
>1064242307>8 BAD Unrecognized command
<1064242316<9 XFER user/[EMAIL PROTECTED] linux2!default
>1064242316>9 BAD Unrecognized command
---------- cyrus Mon Sep 22 16:51:07 2003

<1064242267<C1 Capability
>1064242267>* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS 
>NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT 
>THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE LOGINDISABLED 
>MUPDATE=mupdate://192.168.1.56/ LISTEXT LIST-SUBSCRIBED X-NETSCAPE
C1 OK Completed
<1064242267<6 XFER {17+}
user/[EMAIL PROTECTED] {6+}
linux2
>1064242267>6 NO Mailbox does not exist
<1064242282<7 XFER {17+}
user/[EMAIL PROTECTED] {6+}
linux2 {7+}
default
>1064242282>7 NO Mailbox does not exist
<1064242300<Q01 LOGOUT
>1064242301>* BYE LOGOUT received
Q01 OK Completed

Reply via email to