Crates.io | m2sync |
lib.rs | m2sync |
version | 1.0.0-alpha.1 |
source | src |
created_at | 2024-05-15 20:31:41.892459 |
updated_at | 2024-08-22 12:28:07.776056 |
description | Tool for synchronizing IMAP and local m2dir |
homepage | https://sr.ht/~bitfehler/vomit |
repository | https://git.sr.ht/~bitfehler/vomit-m2sync |
max_upload_size | |
id | 1241482 |
size | 46,969 |
m2sync is a small CLI wrapper around vomit-m2sync. It aims to provide access to all functionality that vomit-m2sync offers. Currently, syncing a local m2dir and a remote IMAP mailbox in both directions is supported. m2sync has to be run periodically to keep the two synchronized.
⚠️ NOTE: ⚠️ until m2sync has reached version 1.0 it has to be considered experimental, and it is entirely possible that it will delete your email!
Here is some quick steps to hopefully avoid that:
--force
option is usedm2sync --pull
, it
will not touch your remote mailboxm2sync --list
and inspect the
resultm2sync --pull
once (potentially undoing some local
changes) to get back to a clean stateReach out to the mailing list if you have questions.
For more usage information, see the man page.
m2sync uses vomit-config, which means the default configuration file
location is $XDG_CONFIG_DIR/vomit/config.toml
(usually
~/.config/vomit/config.toml
).
Example configuration file:
[myaccount]
local = "~/.mail"
remote = "imap.example.com:993"
user = "myusername"
pass-cmd = "pass show mail/myaccount"
# or use this:
#password = "s3cr34"
Both vomit-m2sync and m2sync are part of the Vomit project.
Please send patches to the vomit mailing list.
The mailing list is open for all kinds of feedback, questions, and discussions.