A scala library and tool to backup remote IMAP accounts to a local Maildir.
Currently work in progress, Maildir JavaMail store nearly finished.
To build this project you need sbt, the scala build tool.
sbt clean assembly
To install the mailbackup, simply copy target/{mail-backup,mailbackup-assembly-1.0.jar} to ~/bin
cp target/{mail-backup,mailbackup-assembly-1.0.jar} ~/bin
# backup account imapuser on host some.imap.host to /tmp/mailbackup
mkdir -p /tmp/mailbackup/{new,tmp,cur}
target/mail-backup imap://imapuser@some.imap.host/ /tmp/mailbackup/