Re: IMAP sync tool (rsync for IMAP)

2007-01-19 Thread Simon Matter
--syncinternaldates stopped working at imapsync 1.200 (current is 1.204), as a side effect of the append_string-append_file change suggested by John Capo and Florin Andrei earlier in this thread, on Dec 26, 2006. That change was made to avoid memory exhaustion, see

Re: IMAP sync tool (rsync for IMAP)

2007-01-19 Thread Rob Mueller
I already mailed the author of imapsync about that some days ago but without having an idea how to fix it. I also checked Mail::IMAPClient and found that it lacked the functionality needed here but it seems Mail::IMAPClient isn't maintained anymore (at least there is no development for long time

Re: IMAP sync tool (rsync for IMAP)

2007-01-18 Thread Rich Graves
I'd started taking this offline because it's not entirely on-topic for info-cyrus, but I realize that it has broad impact... On Jan 3 2007, at 8:37 PM, Jo Rhett wrote: On Jan 3, 2007, at 9:20 AM, James Miller wrote: I have 2 users left on an OLD Cyrus installation I want to get off and was

Re: IMAP sync tool (rsync for IMAP)

2007-01-18 Thread Patrick T. Tsang
. Greatly thanks Patrick - Original Message - From: Rich Graves [EMAIL PROTECTED] To: info-cyrus@lists.andrew.cmu.edu Sent: Thursday, January 18, 2007 11:51 PM Subject: Re: IMAP sync tool (rsync for IMAP) I'd started taking this offline because it's not entirely on-topic for info-cyrus

RE: IMAP sync tool (rsync for IMAP)

2007-01-03 Thread James Miller
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Florin Andrei Sent: Saturday, December 23, 2006 2:14 AM To: info-cyrus@lists.andrew.cmu.edu Subject: Re: IMAP sync tool (rsync for IMAP) Florin Andrei wrote: Sort of like rsync for IMAP

Re: IMAP sync tool (rsync for IMAP)

2007-01-03 Thread Florin Andrei
Florin Andrei wrote: Anyway, slower is better than crashing. I'll try and contact the author to make him aware of this discussion thread. I did it and there's version 1.200 posted on Freshmeat claiming the memory issue has been fixed. I'll give it a try one of these days.

Re: IMAP sync tool (rsync for IMAP)

2007-01-03 Thread Florin Andrei
James Miller wrote: 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

Re: IMAP sync tool (rsync for IMAP)

2007-01-03 Thread Jo Rhett
On Jan 3, 2007, at 9:20 AM, James Miller wrote: 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

Re: IMAP sync tool (rsync for IMAP)

2006-12-27 Thread John Capo
Quoting Florin Andrei ([EMAIL PROTECTED]): John Capo wrote: A 32MB message occupies a lot more than 32MB when its a Perl string. Use a temp file instead. my $message_file = /tmp/xfer-$$; unlink($message_file); $from-message_to_file($message_file, $f_msg); And further down.

Re: IMAP sync tool (rsync for IMAP)

2006-12-26 Thread John Capo
Quoting Florin Andrei ([EMAIL PROTECTED]): Marten Lehmann wrote: 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

Re: IMAP sync tool (rsync for IMAP)

2006-12-26 Thread Florin Andrei
John Capo wrote: A 32MB message occupies a lot more than 32MB when its a Perl string. Use a temp file instead. my $message_file = /tmp/xfer-$$; unlink($message_file); $from-message_to_file($message_file, $f_msg); And further down. unless($new_id = $to-append_file($t_fold,

Re: IMAP sync tool (rsync for IMAP)

2006-12-26 Thread Bron Gondwana
On Tue, 26 Dec 2006 14:45:43 -0800, Florin Andrei [EMAIL PROTECTED] said: John Capo wrote: A 32MB message occupies a lot more than 32MB when its a Perl string. Use a temp file instead. my $message_file = /tmp/xfer-$$; unlink($message_file);

Re: IMAP sync tool (rsync for IMAP)

2006-12-25 Thread Marten Lehmann
Hello, 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. strange, I didn't

Re: IMAP sync tool (rsync for IMAP)

2006-12-25 Thread Florin Andrei
Marten Lehmann wrote: 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. strange, I

Re: IMAP sync tool (rsync for IMAP)

2006-12-24 Thread Simon Matter
On Thu, Dec 21, 2006 at 03:47:26PM -0800, Florin Andrei wrote: Essentially, I need a tool that I can point at servers A and B and tell it get all the email from my account on server A to a specific folder on my account on server B, preserving the subfolders hierarchy. The tool needs to be

Re: IMAP sync tool (rsync for IMAP)

2006-12-23 Thread Florin Andrei
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),

Re: IMAP sync tool (rsync for IMAP)

2006-12-23 Thread Rich Graves
Florin Andrei wrote: I'm currently using two IMAP accounts, one on Cyrus-2.2 the other on Cyrus-2.3. The one on Cyrus-2.3 will get decomissioned so I need to transfer all my email, preserving the folders/subfolders tree, under a specific folder (oldmail/foo/bar) on the 2.2 server. You need

Re: IMAP sync tool (rsync for IMAP)

2006-12-22 Thread Muenz, Michael
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/ Anyone tried it with Cyrus? Good/bad experiences? I just used it to move from 2.1 to 2.3, there were a handful of messages it didn't like (~30 out of a few

Re: IMAP sync tool (rsync for IMAP)

2006-12-22 Thread Rudy Gevaert
Florin Andrei wrote: Anyone tried it with Cyrus? Good/bad experiences? Are there any other tools that work better with Cyrus? I moved abotu 400Gig of mail from UW-imapd to cyrus a couple of months ago. Some messages where not synced because our old UW-imapd accepted broken messages.

Re: IMAP sync tool (rsync for IMAP)

2006-12-22 Thread Ross Boylan
On Thu, 2006-12-21 at 15:47 -0800, Florin Andrei wrote: I'm currently using two IMAP accounts, one on Cyrus-2.2 the other on Cyrus-2.3. The one on Cyrus-2.3 will get decomissioned so I need to transfer all my email, preserving the folders/subfolders tree, under a specific folder

Re: IMAP sync tool (rsync for IMAP)

2006-12-22 Thread Bron Gondwana
On Thu, Dec 21, 2006 at 03:47:26PM -0800, Florin Andrei wrote: Essentially, I need a tool that I can point at servers A and B and tell it get all the email from my account on server A to a specific folder on my account on server B, preserving the subfolders hierarchy. The tool needs to be

Re: IMAP sync tool (rsync for IMAP)

2006-12-21 Thread David Lang
On Thu, 21 Dec 2006, Florin Andrei wrote: I'm currently using two IMAP accounts, one on Cyrus-2.2 the other on Cyrus-2.3. The one on Cyrus-2.3 will get decomissioned so I need to transfer all my email, preserving the folders/subfolders tree, under a specific folder (oldmail/foo/bar) on the