from Cyrus to Dovecot, seen status on cyrus.index files
Hello,
Using cyrus2dovecot (https://github.com/a-schild/cyrus2dovecot) I have migrated some test mailboxes from Cyrus (2.4.17) to Dovecot (2.2.9).
The problem I'm having is that the seen status is in cyrus.index files, which cyrus2dovecot doesn't understand.
Does anyone use cyrus2dovecot for migrations? If so, how do you deal with seen status when it is stored in the .index files?
Many thanks in advance, Norberto
Zitat von Norberto Bensa <nbensa+dovecot@gmail.com>:
Does anyone use cyrus2dovecot for migrations? If so, how do you deal with seen status when it is stored in the .index files?
Why don't you use the migration tool that comes with Dovecot bundled
instead, namely dsync? It claims to preserve almost virtually
everything from the old server.
2015-01-23 4:20 GMT-03:00 Marc Stürmer <mail@marc-stuermer.de>:
Zitat von Norberto Bensa <nbensa+dovecot@gmail.com>:
Does anyone use cyrus2dovecot for migrations? If so, how do you deal with
seen status when it is stored in the .index files?
Why don't you use the migration tool that comes with Dovecot bundled instead, namely dsync? It claims to preserve almost virtually everything from the old server.
I've used dsync but it's too slow.
Also, I have some users with shared mailboxes. Those mailboxes get duplicated. Either this is the way it works or I'm doing something wrong. If I could get dsync to not duplicate shared mailboxes, I think I could use it.
Thanks for the suggestion.
Regards, Norberto
Hi,
Am 2015-01-23 um 14:25 schrieb Norberto Bensa:
I've used dsync but it's too slow.
Yes, that's also what we experienced and why we went to cyrus2dovecot.
Also, I have some users with shared mailboxes. Those mailboxes get duplicated. Either this is the way it works or I'm doing something wrong. If I could get dsync to not duplicate shared mailboxes, I think I could use it.
Duplication was not a problem when we migrated. The side effect we had was that all mail in a shared mailbox was marked new for all the sharers. We could not get cyrus2dovecot to use user's flags for shared mailboxes. Apart from that everything worked really well.
Regards,
J.Hofmüller
Ein literarisches Meisterwerk ist nur ein Wörterbuch in Unordnung.
- Jean Cocteau
Am 23.01.2015 um 14:25 schrieb Norberto Bensa:
I've used dsync but it's too slow.
I see your point, if you need to be able to migrate many big inboxes in a short time span.
That's why in Dovecot's mail_location-settings directive you can use the type "auto:" -, like e.g. "mail_location = auto:/var/customers/%u".
If there's an /var/customers/%u/Maildir, it will use Maildir for storage, if there's an /var/customers/%u/mdbox Mdbox and so on.
Hi
Using cyrus2dovecot (https://github.com/a-schild/cyrus2dovecot) I have migrated some test mailboxes from Cyrus (2.4.17) to Dovecot (2.2.9).
The problem I'm having is that the seen status is in cyrus.index files, which cyrus2dovecot doesn't understand.
Does anyone use cyrus2dovecot for migrations?
Yes, but this software which is not related to the one you mention:
http://www.cyrus2dovecot.sw.fu-berlin.de/
Heiko
Hi,
Am 2015-01-23 um 09:36 schrieb Heiko Schlichting:
Does anyone use cyrus2dovecot for migrations?
Yes, but this software which is not related to the one you mention:
http://www.cyrus2dovecot.sw.fu-berlin.de/
The two are identical. Apparently someone put cyrus2dovecot on github. Maybe it will change in the future.
However, we recently migrated from cyrus to dovecot using this piece of software.
The thing you are looking for is probably the switch -S, --cyrus-seen=PATH with which you tell the script where to find the cyrus seen.db. Using this we had no problems with seen flags for regular mailboxes. But migrating shared mailboxes was a PITA ... so if you have these, be prepared for troubles.
Regards,
j.hofmüller
mur.sat -- a space art project http://sat.mur.at/
participants (4)
-
Heiko Schlichting
-
Jogi Hofmüller
-
Marc Stürmer
-
Norberto Bensa