Docker container for OfflineIMAP, an IMAP synchronization tool with scheduled sync via supercronic.
docker run -d \
-v /path/to/offlineimaprc:/home/offlineimap/.offlineimaprc:ro \
-v /path/to/mail:/email \
timjdfletcher/offlineimapThe container runs supercronic with the built-in crontab by default, executing periodic syncs.
Mount your .offlineimaprc configuration file. Example minimal config:
[general]
accounts = Main
[Account Main]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = /email
[Repository Remote]
type = IMAP
remotehost = imap.example.com
remoteuser = user@example.com
remotepasseval = "password"
ssl = yes| Path | Purpose |
|---|---|
/home/offlineimap/.offlineimaprc |
OfflineIMAP configuration |
/email |
Local maildir storage |
./run build./run testRuns rspec tests (requires Ruby and Bundler).