cmd: make syncing run in parallel
cmd: rename sync function to avoid collisions with stdlib package
cancellation: close after current mailbox finishes sync
An email synchronizer
Installation requires go and scdoc.
$ git clone https://git.sr.ht/~rockorager/offmap
$ cd offmap
$ make
$ sudo make install
Users of Archlinux can install the latest development version using the AUR
package offmap-git
.
Recommended usage includes adding verbosity flags. While offmap is in development, it will be important to watch the log outputs. Each 'v' increases the verbosity one level.
# Sync your mail
$ offmap sync -vvvv
# View the pending changes since last sync
$ offmap diff -vvvv
During development, offmap will not delete directories. Individual emails will be deleted, however full directories will not.
Offmap configuration is intended to be very simple. The configuration file should be kept at: $XDG_CONFIG_HOME/offmap/offmap.toml
[account-name]
maildir = "/abs/path/to/maildir"
host = "imap.yourhost.com:993"
username = "you@yourhost.com"
password = "your-password"
Offmap aims to improve over existing IMAP <-> maildir synchronization tools in two ways:
Specifically, offmap will attempt to use the following IMAP extensions: