GoMailSync is a tool to do two way sync of mail between two stores. These store can be an IMAP4Rev1 Server or a Maildir
You can build GoMailSync from source:
Define your GOPATH and then:
go get github.com/sgotti/gomailsync
This will download all dependencies in a GOPATH inside the source dir and put the compiled binary under ./bin/gomailsync :
git clone https://github.com/sgotti/gomailsync
cd gomailsync
./build.sh
./gomailsync --help
Better documention will come. In the meantime take a look at an annoted config file gomailsyncrc
OS. GNU/Linux IMAP Servers: Dovecot, GMail IMAP.
Store | Store | Status |
---|---|---|
Dovecot | Maildir | OK |
GMail IMAP | Maildir | OK |
Maildir | Maildir | OK |
Dovecot | Dovecot | OK |
GMail IMAP | Dovecot | OK |
Because I haven't found a better name... It's written in Go. It does a Two-Way mail synchronization => GoMailSync
The software is under development. I'm using it to sync my mails with big mail folders both between local mail server and between two imap servers. Before being considered stable, something can be changed in configuration directives, metadata format with the need to recreate the metadata dirs and the maildir with a full resync.
Everything can happen...
By design it should be possible but more tests to verifiy nasty corner cases are needed.