#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

#267 in Email

Download history 4/week @ 2024-07-24 5/week @ 2024-07-31 102/week @ 2024-08-21 7/week @ 2024-08-28 10/week @ 2024-09-11 13/week @ 2024-09-18 25/week @ 2024-09-25 10/week @ 2024-10-02

96 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
~688K SLoC