#imap #m2dir

vomit-m2sync

Library for IMAP to m2dir synchronization

2 releases (1 unstable)

1.0.0-alpha.1 Aug 22, 2024
0.11.0 May 15, 2024

#134 in Email

Download history 9/week @ 2024-07-29 97/week @ 2024-08-19 12/week @ 2024-08-26 17/week @ 2024-09-16 24/week @ 2024-09-23 17/week @ 2024-09-30

58 downloads per month
Used in m2sync

GPL-3.0-or-later

87KB
1.5K SLoC

vomit-m2sync

Crates.io builds.sr.ht status Documentation

Vomit-m2sync is a Rust library for IMAP to m2dir synchronization. If you just want something to do this, you are looking for m2sync, a thin CLI wrapper around vomit-m2sync.

Goals and status

The goal is to provide full two-way synchronization between an IMAP server and a local m2dir, either by running periodically, or as a deamon.

Syncing in either direction or both ways (assuming no conflicts) is implemented, but currently only by running periodically.

⚠️ NOTE: ⚠️ until vomit-m2sync has reached version 1.0 it has to be considered experimental, and it is entirely possible that it will delete your email!

See the m2sync README for some advice.

Building

If you want to build yourself rather than cargo install, you can build the library with cargo build -p vomit-m2sync and the m2sync tool with cargo build -p m2sync.

The Vomit project

Both vomit-m2sync and m2sync are part of the Vomit project.

Contributing

Please send patches to the vomit mailing list.

Feedback

The mailing list is open for all kinds of feedback, questions, and discussions.

Dependencies

~29–40MB
~686K SLoC