2023-01-04
vmt-sync - Sync local maildir to remote IMAP account
vmt sync [OPTIONS]
vmt-sync 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.
--exclude EXCLUDE
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.
-h, --help
Print help information
--include INCLUDE
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
List local and remote mailboxes and which actions would be performed on them, then exit.
--pull
Force remote state to local maildir, discarding local changes
--push
Force local state to remote IMAP mailbox, discarding remote changes
-t, --threads THREADS
Number of threads (and IMAP sessions) to use [default: 3]
--unsafe-tls
Accept untrusted (e.g. self-signed) TLS certificates
vmt(1)