[Dovecot] Is it possible to migrating mail to dovecot using imapc?

Dr Josef Karthauser joe at tao.org.uk
Fri Mar 30 23:26:24 EEST 2012


On 30 Mar 2012, at 21:08, Timo Sirainen wrote:

> On 30.3.2012, at 23.02, Dr Josef Karthauser wrote:
> 
>>> It does, but the two way sync mirroring relies on messages having GUIDs. IMAP protocol doesn't have such a concept. I guess it could be kind of emulated by using e.g. GUID = sha1(message header). The pop3-replication plugin kind of does this already. But adding such code makes the regular "doveadm backup" slower since now it has to fetch first message headers and then message bodies. But I guess this could be an optional feature. Hmh.
>> 
>> I have a need of it right now. If there's something quick and dirty that I can do, that would be great. It would take the risk out of migrating my users over to dovecot. :) How much code would what you propose be?
> 
> I suppose to do it quick and dirty you could just copy&paste the get_hdr_sha1() from http://hg.dovecot.org/dovecot-2.1/rev/78317179b4af to imapc code and have imapc_mail_get_special() use it for returning GUID.

Do you think that this will reliably do the trick?

Joe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: imapc.patch
Type: application/octet-stream
Size: 2299 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120330/599521f4/attachment.obj>


More information about the dovecot mailing list