Hi, I'm trying to migrate from Cyrus (remote side) to Dovecot 2.2.24 (local). On the local side the destinations folders, and indexes are empty. The command I'm using is doveadm \ -o mail_plugins= \ -o imapc_master_user=<cyrus-user> \ -o imapc_password=<cyrus-password> \ -o imapc_host=<cyrus-ip> \ \ -o imapc_ssl_verify=no \ -o imapc_ssl=imaps \ -o imapc_port=993 \ backup -f -u "heiko" -R imapc: \ || { rc=$? echo "EXIT: $rc" >&2 exit $rc } On successive runs of the above command I get: dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Mailinglisten Anforderung': UID=16 GUID= is missing locally EXIT: 75 dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Mailman': UID=2 GUID= is missing locally EXIT: 75 dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Servermeldungen': UID=514 GUID= is missing locally EXIT: 75 dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Servermeldungen.AIDE': UID=188292 GUID= is missing locally EXIT: 75 dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Servermeldungen.AIDE.AIDE - 2012': UID=9343 GUID= is missing locally EXIT: 75 Any idea where to look next? Is 'doveadm backup' the wrong tool for such migration? (I'd say with about 2.2.9 I had similar problems, but at least it didn't stop at every subfolder.) Best regards from Dresden/Germany Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE - ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ - -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20160627/1f9d6a56/attachment.sig>
On 27 Jun 2016, at 08:28, Heiko Schlittermann <hs at schlittermann.de> wrote:> > Hi, > > I'm trying to migrate from Cyrus (remote side) to Dovecot 2.2.24 (local). > On the local side the destinations folders, and indexes are empty. > > The command I'm using is > > doveadm \ > -o mail_plugins= \ > -o imapc_master_user=<cyrus-user> \ > -o imapc_password=<cyrus-password> \ > -o imapc_host=<cyrus-ip> \ > \ > -o imapc_ssl_verify=no \ > -o imapc_ssl=imaps \ > -o imapc_port=993 \ > backup -f -u "heiko" -R imapc: \ > || { > rc=$? > echo "EXIT: $rc" >&2 > exit $rc > } > > On successive runs of the above command I get: > > dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Mailinglisten Anforderung': UID=16 GUID= is missing locallyThis means that on Dovecot side there are messages after UID=16, but either: a) UID=16 was expunged from Dovecot side or b) UID=16 suddenly appeared on Cyrus side even though it wasn't there earlier. This isn't allowed by IMAP standard. Dovecot can't insert UIDs, so it'll delete the folder and re-sync everything on the next run.> Any idea where to look next? Is 'doveadm backup' the wrong tool for such > migration? (I'd say with about 2.2.9 I had similar problems, but at > least it didn't stop at every subfolder.)If you allow local access already that can do modification, use doveadm sync -1 after that.
Hi, Timo Sirainen <tss at iki.fi> (Di 28 Jun 2016 23:30:38 CEST):> > > > On successive runs of the above command I get: > > > > dsync(heiko): Warning: Deleting mailbox 'Serververwaltung.Mailinglisten Anforderung': UID=16 GUID= is missing locally > > This means that on Dovecot side there are messages after UID=16, but either: > a) UID=16 was expunged from Dovecot side orOn the dovecot side nobody is accessing the mail system.> b) UID=16 suddenly appeared on Cyrus side even though it wasn't there earlier. This isn't allowed by IMAP standard.Hm, this seems to be a possible reason. So, successive numbers? It seems to happen mostly on huuge mailboxes. -- Heiko -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20160628/00711d2a/attachment.sig>