[Dovecot] dsync with imapc and hidden folders

Angel L. Mateo amateo at um.es
Thu Feb 28 15:53:25 EET 2013


Hello,

	I'm trying to use dsync to copy mail from one server to a newer one, so 
I'm using imapc as source (when running dsync in the destination server).

	The command I'm using is like this:

sudo dsync -vD -o imapc_user="<myuser>*master" -o 
imapc_password="<master pass>" -o imapc_host=<original server> -o 
imapc_features=rfc822.size -o mailbox_list_index=no backup -R -f -u 
"<myuser>" imapc:

	This command is working. The problem I have is that I'm using 
lazy_expunge in the original server, and namespace used in the original 
server has the config:

namespace {
   hidden = yes
   list = no
   location = maildir:~/Maildir/expunged
   prefix = BORRADOS.
   separator = .
}

	so, it is not being synchronized.

	I have tried to synchronized from the original server instead of 
destination with:

sudo dsync -vD -o imapc_user="<myuser>*master" -o 
imapc_password="<master pass>" -o imapc_host=<dest server> -o 
imapc_features=rfc822.size -o mailbox_list_index=no -o 
mail_location=maildir:<myuserhome>/Maildir/expunged backup -f -u 
"amateo" imapc:

	with this, no message is copied and I have errors like:

dsync(<myuser>): Error: Mailbox Archives.2003_kk changed its GUID 
(e7fc0b2d831e1c51984d000029c62294 -> 7d325fb944b953993df5d27ce2ee786c)

	Any idea to copy messages in this namespace without needing to make it 
plubic? Is there any hidden option for dysnc? Could I use doveadm 
backup? How? (it seems that documentation for dsync and doveadm backup 
is not updated)

-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868889150
Fax: 868888337


More information about the dovecot mailing list