1

I'm currently running IMAPsync on CentOS and I'm getting out of memory errors. The problem I'm having is that I'm using the smallest mailbox as a test case, and it's not helping my confidence level to have out of memory errors on a 2G mailbox.

I assumed from the description on the page that is was a recursive program, so I expected it to continue from where it left off, but I have no idea if it did that on the second run or not.

Is it possible to have IMAPsync continue until both mailboxes are in sync, or at least till all the mail from host1 has been moved to host2?

Thanks

Mister IT Guru
  • 1,158
  • 3
  • 15
  • 35
  • What flags are you passing it? You should be passing "--useheader 'Message-ID'", for example. – David Schwartz Dec 30 '11 at 02:56
  • ./imapsync \ --host1 imap.domain.A --user1 foo --password1 secret1 \ --host2 imap.domain.B --user2 bar --password2 secret2 And also using --split1 100 --split2 100 – Mister IT Guru Dec 30 '11 at 03:35
  • There is also a FAQ entry about memory issues in imapsync's docs here: https://imapsync.lamiral.info/FAQ.d/FAQ.Memory.txt – balupton Feb 16 '22 at 01:17

1 Answers1

2

The memory issue is solved by using Perl module Mail-IMAPClient >= 3.26

Bye.

Gilles LAMIRAL
  • 405
  • 2
  • 7
  • I seem to have been able to sync some massive 10G+ mailboxes using -useheader 'message-id' and also using --dry to make sure everything connects as expected. I'll update my Perl modules as well. – Mister IT Guru Jan 04 '12 at 15:41