POSTS
Migrate IMAP Mailboxes From One Server to Another
Had to sync imap mailboxes from the old (gentoo) server to the new (osx server) one, found multiple tools but couldn’t get any of them to work except for larch which works as an IMAP client instead of messing with the maildirs in some way.
On my OSX laptop I needed to install some dependent modules for ruby to run it:
$ gem install trollop --include-dependenciesand then
$ gem install larchAnd finally, to do the actual migration - connect to the old server and the new server and copy all messages:
$ bin/larch --from imaps://oldserver.local --to imap://newserver.local