Guillaume,
I wrote a perl script that uses Mail::IMAPClient to transfer mailboxes 
entirely via IMAP, as I had the same problems you had with imapcp. I 
have used it successfully to migrate mailboxes from the Sun Internet 
Messaging Server to Cyrus, but your mileage may vary. I also had to 
debug and patch Mail::IMAPClient because I found it would deadlock 
with the IMAP server during large message uploads. I've been very busy 
and haven't sent my patch to the IMAPClient maintainer yet, but I'll 
attach it here for you, along with my script. Note that the script has 
ONLY been tested on my own servers, and you may run in to all kinds of 
weird stuff so use with caution, although it works very well for me.

The Mail::IMAPClient patch is for version 2.1.3, so you will need to 
get that from CPAN, install it, and then apply my patch:
patch /usr/lib/perl5/site_perl/5*/Mail/IMAPClient.pm \
         < IMAPClient.pm-2.1.3.patch

before my script will run properly. If you can't find 2.1.3 (shouldn't 
be a problem, I think that's the latest release) let me know and I'll 
send you a tarball.

You need to set a few variables in the beginning of the script to 
customize it for your environment.

Guillaume Delorme wrote:

> See http://www.oreilly.com/catalog/mimap/chapter/ch09.html#92594
> for the possibilities
> 
> Scripts are avaliable at
> http://examples.oreilly.com/mimap/examples.tar.gz
> They only work with older version of cyradm (tcl version)
> To use them, compile an old version of cyrus imap (1.6) and use the tcl
> cyradm
> 
> Guillaume
> 
> 
>>Hi !
>>
>>How can I transfer some IMAP-boxes from my wu->imapd system to
>>cyrus-imapd ?
>>
>>I have found a nice tool for this - but it doesn´t work ...
>>... it crashes mostly while transfering ....
>>
>>http://freshmeat.net/redir/imapcp/14762/url_homepage/
>>
>>Is there a better possibility available ?
>>
>>Regards
>>
>>Marc Schöchlin
>>
>>
>>
>>
> 
> 



-- 
Jules Agee
System Administrator
Pacific Coast Feather Co.
[EMAIL PROTECTED]      x284

imapmigrate.tar.gz

Reply via email to