For a couple years I've synced my email stored on two hosts by periodically
running mbsync. mbsync's syncing has been great (thank you!).
However, mbsync does not know when to sync the mailstores, so a short script
periodically mbsyncs. Because mail is sorted into folders at the mailserver
and because I sometimes read mail from the mailserver, I sync all mailboxes
(not just the INBOX). Unfortunately, because syncs of mailboxes with many
messages or syncs of many mailboxes place a good deal of load on the network
and server, I've had to limit the syncs to be much less frequent than I
would like. (Eg sync the INBOX once a minute and all mailboxes once
every ten minutes.) Of course this still runs syncs when there are no
changes and so still wastes network and server resources.

For this reason I have written mswatch. mswatch listens for mailbox changes
from two sets of mailboxes and runs runs a mailbox synchronizer
(I've developed mswatch using mbsync) when there are mailbox changes.
This allows mailbox changes to propagate quickly and more efficiently than
periodically synchronizing the mailboxes.

mswatch currently includes one mailbox watcher which watches Maildirs
on Linux 2.4+. I'd be interested in supporting other mailbox types
and platforms if this would be helpful to anyone.

More information and mswatch 1.0.0: http://mswatch.sourceforge.net/

I'm also quite interested in any feedback mbsync developers and users have.
For example, I have ran into two limitations with mbsync:
- mailbox deletions are not propagated (the deleted mailbox is recreated)
  when "mbsync <DELETED_MAILBOX>" is ran
- maildir mailbox creations are not propagated when "mbsync <NEW_MAILBOX>"
  is ran (mbsync errors)
Are there ways I have just missed to accomplish these with mbsync?
(I can certainly provide more details on this.)

thanks so much for mbsync!
-- 
Chris Frost  |  <http://www.frostnet.net/chris/>
-------------+----------------------------------
Public PGP Key:
   Email [EMAIL PROTECTED] with the subject "retrieve pgp key"
   or visit <http://www.frostnet.net/chris/about/pgp_key.phtml>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to