If it's of interest, I have an automated container of it that builds whenever any of imapbackup's dependencies, or the base ruby:alpine image, are updated.
I can fully recommend this tool.
It saved me (never moved IMAP accounts) a ton³ of work.
But it takes some time to trust it in the first place due the antique website. Even the author explained it.
gcr 24 minutes ago [-]
I absolutely do not trust mail tools with a modern website. Tools of this caliber should not be advertised on sites with CSS. When it comes to mail, you don’t want something retail-facing or flashy, you want something that works and doesn’t change.
Notmuchmail.org? Mutt.org? The website is black Times on white background? Cool, it must be a good UNIXy quality tool.
panki27 17 hours ago [-]
Used this around 5 years ago to migrate a mid-sized mailserver, absolutely magnificient.
I remember that back then you had to pay for the binaries, but could download the source code for free - you just had to figure out how to compile it.
The page mentions Perl source code though, so I'm not sure if I'm mixing this up with another tool...
natebc 24 minutes ago [-]
Same except for like 15 years ago lol. Migrated 50,000+ local imap users into a cloud mail service. Used incrementals to do most of the work in the weeks leading up then a final sync per batch of 10k users. Worked like a champ.
tecleandor 14 hours ago [-]
I think the author packages an all-dependencies-included executable for windows that you're given access when you pay for support and all that, but it's in fact perl.
I remember using this program a bunch of times during the years (and I think I've paid at least once) and remember using CPAN when configuring it.
It has helped me a bunch of times!
mytwoscents 13 hours ago [-]
I use it as a sync tool for each new mail I receive.
My domain provider offers to me a very small mailbox. Enough for a couple of mails but way too small to use as an IMAP server.
So I run a dovecot IMAP server on my RPI and trigger for each new mail imapsync to copy mails over to my dovecot and delete mails on my small mailbox. Works like a charm and allows me to have a virtually infinite sized mailbox for very little money. Plus, all my mails are in my home under my control instead of lying on some server somewhere.
rufugee 12 hours ago [-]
What do you use for search?
mytwoscents 12 hours ago [-]
Thunderbird on my PC, K9 on Android. The "search on server" works there quite well.
charles_f 13 hours ago [-]
That website is delicious! Somehow it gives me more trust than if it were some overburdened react/bootcamp
I'm disappointed to see this posted by you. The developer of imapsync, Gilles, has created a fantastic piece of software and deserves all the sales he can get. Sharing private links like this undermines his hard work and effort.
- I earn my leaving from imapsync buyers but less likely on donators, as a measured fact.
- Donations work 1/100 less than payments, ie, for $1 from donators I get $100 of buyers.
- I don't make the github release, Nicolas does, and Nicolas doesn't include the .exe binary in the repository, it is a common rule in free and open source software guidelines. I do not blame Nicolas about this.
- Nicolas does a good job, a basic copy of imapsync mainstream repository where releasecheck is off and whatever he wants, like exe trash, I'm ok with that.
- Don't worry, my income won't suffer, as people don't read. The no-dowload link on the main imapsync web site is just a payment incentive. It works. It works enough to make me concentrate my work life on imapsync and their users.
userbinator 8 hours ago [-]
Don't worry, my income won't suffer, as people don't read.
The classic "lazy/stupid tax" technique. I remember coming across a site selling downloads of popular open-source software (which is legal per the licenses, and IIRC part of the sales was actually donated to the original project) a while ago.
This looks to me like they originally made it available for free and then changed their mind. The developer is well within their right to do so, but don't be surprised that people find it confusing and try to avoid paying for it.
dspillett 2 hours ago [-]
Not quite.
It was free with a request for donations, and he sold consultancy for people with big tasks or who might need quick detailed support (corporates using it to migrate large mail servers etc.). I remember donating a bit many years ago when it made our (a small company at the time) migration between mail systems much easier than it otherwise might have been, and I'd used it personally for backup & migration before that.
Looking at it for the first time in a long while, there isn't really much difference now – it is still free to use, the old licence still holds (https://imapsync.lamiral.info/LICENSE), he is perfectly happy with people using it freely, he still accepts donations and offers paid support. There is the convenience tax of the single-exe Windows build not being available by default (though nothing to stop someone else making one if they want to do that and support it, there are docker images that would qualify if you already have docker of some colour installed), I don't remember that existing at all back way back when. There also an online version to save you installing it at all (no use to some due to data safety due-diligence matters, but likely very handy for many home users), that is only free up to a point (fair enough, bandwidth isn't a free resource beyond a point that the service must be well beyond). Some also say he makes it less obvious how free it is on the home page, but I _really_ don't see that when I look at that page, it isn't exactly hidden…
16 hours ago [-]
16 hours ago [-]
Deeg9rie9usi 18 hours ago [-]
This tool served me well with more than one migration of super large mailboxes.
tonijn 17 hours ago [-]
Great tool that I’ve been using for over a decade now. Highly recommended
sp8 15 hours ago [-]
Haven't used this tool for many years, but when I needed to help a friend migrate his business email from the email services provided by a web host to Google Workspace (or whatever it was called at the time) this tool worked perfectly (admittedly, only about 3 fairly tame mailboxes).
locusofself 15 hours ago [-]
I had less luck with this around 12 years ago doing a migration from whatever the UW mailserver is to Office365. Probably an Office/Exchange related issue, but it was a big headache.
I do remember using it for another succcessful migration, and the author being quite helpful.
eduction 17 hours ago [-]
Instead of migrating from server to server — and remaining on computers I don’t own - I download locally which it looks this tool doesn’t do. I use mbsync/isync which is fast and reliable. https://isync.sourceforge.io/
It looks like a lot more flexible than this tool, although I only use it for local downloads. But I believe it allows for arbitrary trafficking of mail files between imap servers, local stores, etc.
bayindirh 15 hours ago [-]
You can consider Joe Yates’ imap-backup tool for local sync/backup. It works great.
consumer451 14 hours ago [-]
Last I checked this was easiest way to migrate email accounts between Microsoft365 tenants. Somehow this is not a Microsoft feature.
I have used imapsync quite a few times. Such a great tool.
illusive4080 14 hours ago [-]
Microsoft has deprecated “legacy” auth methods, which makes this sort of thing very difficult to accomplish nowadays.
I used to use IMAP/SMTP for Outlook Mail but they force you to use proprietary clients now, forcing OAuth. It makes scripting nearly impossible.
You install it and authenticate it with OAuth, then point your backup software to the proxy.
consumer451 13 hours ago [-]
Darn, it sounds like we are back to drag and drop in Thunderbird then?
charles_f 13 hours ago [-]
An alternative that works relatively well is to use thunderbird to synchronize all emails from the account to migrate, then drag them towards the new account.
consumer451 13 hours ago [-]
Ha, yes that is also a way that I have done it, prior to learning about imapsync.
Although according to the peer comment, it sounds like that's the last standing method.
z3n0n 13 hours ago [-]
bought this a few years back to handle some cpanel imap <-> Gmail sync. Simply gets the job done. No nonsense tool that makes do without overhyped promo and flashy website, a rare breed these days. Highly recommended.
qrush 16 hours ago [-]
Has anyone used this to migrate off of Gmail / Google Workspace? Someday I'll be able to do it...
Doing that there's one issue I ran into, which is that GMail has a mail size limit of 25 MB whereas iCloud Mail only allows 20 MB, and I have a nontrivial number of emails with attachments just in between. If someone has a good solution for this other than manually removing or somehow shrinking (e.g. images) attachments, I'd be interested.
CharlesW 13 hours ago [-]
IIRC I used the imapsync --maxsize option, then hand-processed the relatively few (in my case) emails which had larger attachments. In my Google Workspace mail, I believe I searched emails using larger:19M has:attachment.
birdman3131 9 hours ago [-]
Less migrating and more syncing it to an mxroute server so I can get some space back.
The one caveat about this. Gmail has a ~2gb/day limit on transfers so it can take a while.
dclaw 16 hours ago [-]
Absolutely, ms365 too. Definitely a worthwhile tool, and if you have a big job or do it more than once a year you should purchase it.
UnserMannInK 17 hours ago [-]
Cannot recommend enough, great tool!
ruebenramirez 16 hours ago [-]
This was a great tool that saved me a LOT of time!
It can sync, incrementally backup and/or restore e-mail accounts.
It runs great as a container, does its job and exits. If anyone wants an ARM version, I maintain a container at [1].
[0]: https://github.com/joeyates/imap-backup
[1]: https://hub.docker.com/r/bayindirh/imap-backup
https://github.com/cmsj/imap-backup
But it takes some time to trust it in the first place due the antique website. Even the author explained it.
Notmuchmail.org? Mutt.org? The website is black Times on white background? Cool, it must be a good UNIXy quality tool.
I remember that back then you had to pay for the binaries, but could download the source code for free - you just had to figure out how to compile it.
The page mentions Perl source code though, so I'm not sure if I'm mixing this up with another tool...
I remember using this program a bunch of times during the years (and I think I've paid at least once) and remember using CPAN when configuring it.
It has helped me a bunch of times!
My domain provider offers to me a very small mailbox. Enough for a couple of mails but way too small to use as an IMAP server.
So I run a dovecot IMAP server on my RPI and trigger for each new mail imapsync to copy mails over to my dovecot and delete mails on my small mailbox. Works like a charm and allows me to have a virtually infinite sized mailbox for very little money. Plus, all my mails are in my home under my control instead of lying on some server somewhere.
Didn't know that tool but looks useful, thanks!
If the author wanted to "force you" in any way, he wouldn't offer a publicly reachable download link, nor the source, nor a permissive license.
It's OK to have economic expectations related to a software you wrote.
You can build the image by just chmod +x'ing the file and running it. Then just do podman run --rm -it imapsync [ARGS] and you're off.
https://github.com/imapsync/imapsync/issues/257#issuecomment...
Why you don't find a direct download link on the upstream site https://imapsync.lamiral.info/ is because:
- I earn my leaving from imapsync buyers but less likely on donators, as a measured fact.
- Donations work 1/100 less than payments, ie, for $1 from donators I get $100 of buyers.
- I don't make the github release, Nicolas does, and Nicolas doesn't include the .exe binary in the repository, it is a common rule in free and open source software guidelines. I do not blame Nicolas about this.
- Nicolas does a good job, a basic copy of imapsync mainstream repository where releasecheck is off and whatever he wants, like exe trash, I'm ok with that.
To answer your questions:
- Windows binary exe is here in the zip file: https://imapsync.lamiral.info/dist/
- Don't worry, my income won't suffer, as people don't read. The no-dowload link on the main imapsync web site is just a payment incentive. It works. It works enough to make me concentrate my work life on imapsync and their users.
The classic "lazy/stupid tax" technique. I remember coming across a site selling downloads of popular open-source software (which is legal per the licenses, and IIRC part of the sales was actually donated to the original project) a while ago.
It was free with a request for donations, and he sold consultancy for people with big tasks or who might need quick detailed support (corporates using it to migrate large mail servers etc.). I remember donating a bit many years ago when it made our (a small company at the time) migration between mail systems much easier than it otherwise might have been, and I'd used it personally for backup & migration before that.
Looking at it for the first time in a long while, there isn't really much difference now – it is still free to use, the old licence still holds (https://imapsync.lamiral.info/LICENSE), he is perfectly happy with people using it freely, he still accepts donations and offers paid support. There is the convenience tax of the single-exe Windows build not being available by default (though nothing to stop someone else making one if they want to do that and support it, there are docker images that would qualify if you already have docker of some colour installed), I don't remember that existing at all back way back when. There also an online version to save you installing it at all (no use to some due to data safety due-diligence matters, but likely very handy for many home users), that is only free up to a point (fair enough, bandwidth isn't a free resource beyond a point that the service must be well beyond). Some also say he makes it less obvious how free it is on the home page, but I _really_ don't see that when I look at that page, it isn't exactly hidden…
I do remember using it for another succcessful migration, and the author being quite helpful.
It looks like a lot more flexible than this tool, although I only use it for local downloads. But I believe it allows for arbitrary trafficking of mail files between imap servers, local stores, etc.
I have used imapsync quite a few times. Such a great tool.
I used to use IMAP/SMTP for Outlook Mail but they force you to use proprietary clients now, forcing OAuth. It makes scripting nearly impossible.
https://learn.microsoft.com/en-us/exchange/clients-and-mobil...
https://learn.microsoft.com/en-us/exchange/client-developer/...
You install it and authenticate it with OAuth, then point your backup software to the proxy.
Although according to the peer comment, it sounds like that's the last standing method.
The one caveat about this. Gmail has a ~2gb/day limit on transfers so it can take a while.