RE: IMAP sync tool (rsync for IMAP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: info-cyrus-bounces@xxxxxxxxxxxxxxxxxxxx
> [mailto:info-cyrus-bounces@xxxxxxxxxxxxxxxxxxxx]On Behalf Of Florin
> Andrei
> Sent: Saturday, December 23, 2006 2:14 AM
> To: info-cyrus@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: IMAP sync tool (rsync for IMAP)
>
>
> Florin Andrei wrote:
> >
> > Sort of like rsync for IMAP, if that makes sense.
> >
> > So far, the only tool I've found is imapsync:
> >
> > http://freshmeat.net/projects/imapsync/
>
> Seems to be working fine. It's recursive, it's smart (subsequent runs
> don't download the old messages again, only the new messages), the
> command-line switches are a rich set that's pretty much
> self-explanatory. It's easy to do non-destructive tests. It's flexible
> enough.
>
> Downside: If you have very large messages on the source IMAP servers,
> you better run the script on a machine with lots of RAM. On my system it
> died repeatedly with "out of memory" when it was hitting a 32MB message
> (on-disk size), and the system has 1GB RAM.
> It's probably best to run it on a 3rd system, one that's separate from
> both the source and the destination IMAP servers, otherwise unpleasant
> things might happen if the script starts to gobble up RAM on the IMAP
> server. Again, this 3rd system is best if it has lots of RAM if you
> allow large messages on your source IMAP server.
>

My apologies for this being off topic but I was hoping someone might be able
to comment.

I have 2 users left on an OLD Cyrus installation I want to get off and was
hoping to use imapsync.  It seemed to work just fine except dates of the
messages from the old server to the new were not retained.  All of the
messages have the date they were imported instead.  I ran imapsync on the
destination host, I wouldn't think that would make a difference - does it
matter?

/usr/bin/imapsync --syncinternaldates --host1 source.host --user1 bob \
--noauthmd5 --passfile1 /tmp/secret1 --host2 destination.host --user2 bob \
--noauthmd5 --passfile2 /tmp/secret2

Any suggestions would be appreciated.

--Jim


----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux