Problem moving mailboxes under murder
Christian Schulte
cs at schulte.it
Mon Sep 22 18:15:29 EDT 2003
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/Folder3 at test.de (\HasNoChildren)
user/test/Folder1/Folder2 at test.de (\HasChildren)
user/test/Folder1 at test.de (\HasChildren)
user/test2 at test.de (\HasNoChildren)
user/test at test.de (\HasChildren)
user/test at test2.de
frontend>rename user/test at test.de user/test at test.de linux2
renamemailbox: Mailbox does not exist
frontend>rename user/test at test.de user/test at test.de linux2!default
renamemailbox: Mailbox does not exist
frontend>xfermailbox user/test at test.de linux2
xfermailbox: Unrecognized command
frontend>
cyradm on the first backend:
linux1>lm
user/test/Folder1/Folder2/Folder3 at test.de (\HasNoChildren)
user/test/Folder1/Folder2 at test.de (\HasChildren)
user/test/Folder1 at test.de (\HasChildren)
user/test2 at test.de (\HasNoChildren)
user/test at test.de (\HasChildren)
linux1>rename user/test at test.de user/test at test.de linux2
renamemailbox: Unknown/invalid partition
linux1>xfer user/test at test.de linux2
xfermailbox: Mailbox does not exist
cyradm on the second backend:
linux2>lm
user/test at test2.de (\HasNoChildren)
linux2>rename user/test at test2.de user/test at test2.de linux1
renamemailbox: Unknown/invalid partition
linux2>xfer user/test at test2.de 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/test at test.de user/another-name at test.de
linux1>lm
user/another-name/Folder1/Folder2/Folder3 at test.de (\HasNoChildren)
user/another-name/Folder1/Folder2 at test.de (\HasChildren)
user/another-name/Folder1 at test.de (\HasChildren)
user/another-name at test.de (\HasChildren)
user/test2 at test.de (\HasNoChildren)
linux1>rename user/another-name at test.de user/another-name at another-domain
linux1>lm
user/another-name/Folder1/Folder2/Folder3 at another-domain (\HasNoChildren)
user/another-name/Folder1/Folder2 at another-domain (\HasChildren)
user/another-name/Folder1 at another-domain (\HasChildren)
user/another-name at another-domain (\HasChildren)
user/test2 at test.de (\HasNoChildren)
--Christian
-------------- next part --------------
---------- cyrus Mon Sep 22 16:50:28 2003
<1064242228<4 RLIST "" ""
>1064242228>* LIST (\Noselect) "/" ""
4 OK Completed
<1064242230<5 RLIST "" "*"
>1064242230>* LIST (\HasChildren) "/" "user/test at test.de"
* LIST (\HasChildren) "/" "user/test/Folder1 at test.de"
* LIST (\HasChildren) "/" "user/test/Folder1/Folder2 at test.de"
* LIST (\HasNoChildren) "/" "user/test/Folder1/Folder2/Folder3 at test.de"
* LIST (\HasNoChildren) "/" "user/test2 at test.de"
* LIST (\HasNoChildren) "/" "user/test at test2.de"
5 OK Completed
<1064242283<6 RENAME user/test at test.de user/test at test.de linux2
>1064242283>6 NO Mailbox does not exist
<1064242299<7 RENAME user/test at test.de user/test at test.de linux2!default
>1064242299>7 NO Mailbox does not exist
<1064242307<8 XFER user/test at test.de linux2
>1064242307>8 BAD Unrecognized command
<1064242316<9 XFER user/test at test.de linux2!default
>1064242316>9 BAD Unrecognized command
-------------- next part --------------
---------- 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/test at test.de {6+}
linux2
>1064242267>6 NO Mailbox does not exist
<1064242282<7 XFER {17+}
user/test at test.de {6+}
linux2 {7+}
default
>1064242282>7 NO Mailbox does not exist
<1064242300<Q01 LOGOUT
>1064242301>* BYE LOGOUT received
Q01 OK Completed
More information about the Info-cyrus
mailing list