fbernitt / mailbackup

A simple tool to backup IMAP accounts to local Maildir folders.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mailbackup

Build Status

A scala library and tool to backup remote IMAP accounts to a local Maildir.

Currently work in progress, Maildir JavaMail store nearly finished.

Maildir

Wikipedia Maildir

Compile and Install

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

Usage

# 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/

About

A simple tool to backup IMAP accounts to local Maildir folders.

License:Apache License 2.0


Languages

Language:Scala 99.9%Language:Shell 0.1%