vsync - IMAP to maildir synchronization
vsync is an IMAP-to-maildir synchronization tool. At the moment, it has to be run periodically to keep the two synchronized.
By default, it will merge local and remote changes (unless they are in conflict) and apply both to the respective other side. The `--push` or `--pull` arguments can be used to force vsync to completely overwrite the remote or the local side respectively, regardless of conflicts.
-a, --account ACCOUNT
The account to operate on (default: first account in config)
-c, --config CONFIG
Set a custom config file location
Check if remote server supports required capabilities
Exclude all mailboxes matching EXCLUDE. Can be used multiple times. Supports * and ? as wildcard characters. The pattern must match the IMAP mailbox name (e.g. folder.mailbox). If a mailbox name matches both exclude and include, exclude takes precendence.
Print help information
Include only mailboxes matching INCLUDE. Can be used multiple times. Supports * and ? as wildcard characters. The pattern must match the IMAP mailbox name (e.g. folder.mailbox). If a mailbox name matches both exclude and include, exclude takes precendence.
List local and remote mailboxes and which actions would be performed on them, then exit.
Force remote state to local maildir, discarding local changes
Force local state to remote IMAP mailbox, discarding remote changes
-t, --threads THREADS
Number of threads (and IMAP sessions) to use [default: 3]
Accept untrusted (e.g. self-signed) TLS certificates
Increase verbosity (can be used multiple times)
Print version information
vsync uses the unified configuration file of the Vomit project.
On startup vsync will look for a file at $XDG_CONFIG_HOME/vomit/config.toml. If unset, $XDG_CONFIG_HOME defaults to ~/.config/.
[example] local = "~/.maildir" remote = "imap.example.net" user = "conrad" pass-cmd = "pass show mail/example.com" # Or hardcode it: #password = 'secr3t'
More details about the configuration can be found in the documentation of the vomit-config library at https://docs.rs/vomit-config.
Maintained by Conrad Hoffmann <firstname.lastname@example.org>. vsync is part of the Vomit project. You can find more information and source code at https://sr.ht/~bitfehler/vomit. Bugs/patches can be submitted by email to the vomit mailing list at ~email@example.com