1

I'm writing a simple web app with which people can migrate their email from one server to another. I've read about imapsync and tried it out. So far it works very good and seems to be a good solution. At the end of the migration it tells me it had used ~ 350 MB of memory.

Another possible solution is the imap-move PHP script. It has its own GitHub page here: https://github.com/edoceo/imap-move. I can't seem to find out how much memory it uses.

I want ~ 30 users to be able to use the web app at the same time, without running out of memory. I want to test which solution is the fastest and/or uses the least memory, but don't know how. Any suggestions?

SomeCode
  • 13
  • 1
  • 5

2 Answers2

5

Nothing I've ever seen beats the quality and reliability of imapsync. What it does appears to be an easy problem but it's really not and Gilles has worked out countless small problems over the years that plague other solutions. The solution you linked has only one commit over four years ago and I wouldn't waste a single second on this because it almost certainly will not work as well as imapsync - most likely it will only work in the specific setup the author tested it on anyway.

Sven
  • 97,248
  • 13
  • 177
  • 225
4

I also wrote an online GUI for imapsync, Imapsync online. It has run with success for more than a month. Imapsync has now a builtin load discharge mechanism upon online context: when the load is too heavy then imapsync quit and ask to come back later. It never happened so far on this small 2GB 4 cores server. Feel free to use it!

Gilles LAMIRAL
  • 405
  • 2
  • 7