Cannot move mailbox between backend
Jean-Christophe Delaye
Jean-Christophe.Delaye at eurecom.fr
Fri Jun 8 09:37:55 EDT 2018
Hi,
Our running configuration has a frontend/mupdate master (imap) with 2
backends (imap1 & 2) (all imapd-3.0.7 with sasl-2.1.27)
Creating mailbox from the master with cyradm works fine (in automatic
mode (no backend specified) or with backend name specified.
I have the following settings in backend's imapd.conf
# Which partition to use for default mailboxes
defaultpartition: default
partition-default: /global/cyrus/mail
cyradm --user cyrus imap (from the master/frontend).
imap.eurecom.fr> cm user/foo
imap.eurecom.fr> info user/foo
{user/foo}:
....
shared:
....
partition: default
server: imap2.eurecom.fr
or
imap.eurecom.fr> cm user/foo1 imap1.eurecom.fr!default
imap.eurecom.fr> info user/foo1
{user/foo1}:
....
shared:
....
partition: default
server: imap1.eurecom.fr
Now, if I tried to relocate (move) user/foo1 from imap1 to imap2 with renm
imap.eurecom.fr> renm user/foo1 user/foo1 imap2.eurecom.fr!default
imap.eurecom.fr>
I do not see any errors, but user/foo1 is still on his primary backend
(imap1). Logs show the following
on source backend1 ==>
cyrus1/imap[5631]: [ID 515622 local7.warning] requested partition
directory for unknown partition 'user/foo1'
cyrus1/imap[5631]: [ID 605502 local7.info] XFER: connecting to server
'imap2.eurecom.fr'
cyrus1/imap[5631]: [ID 943968 local7.info] XFER: destination supports
replication
cyrus1/imap[5631]: [ID 241566 local7.info] XFER: disconnecting from servers
on target backend2 ==>
cyrus2/imap[5628]: [ID 886222 local4.notice] command: N01 Noop
cyrus2/imap[5628]: [ID 886222 local4.notice] command: Q01 Logout
cyrus2/imap[5628]: [ID 866165 local4.notice] USAGE mailproxy user:
0.026592 sys: 0.028425
NB: mailproxy user is admin on backends.
My questions are:
- do I have an error in my rename command ? I also tried with xfer
command without any success !
- What does mean XFER: destination supports replication ? I compiled all
my servers without enbling replication....
Cyrus Server configured components
event notification: yes
gssapi: no
autocreate: no
idled: yes
httpd: yes
kerberos V4: no
murder: yes
nntpd: no
replication: no
sieve: yes
calalarmd: yes
objectstore: no
backup: no
Thank you.
More information about the Info-cyrus
mailing list