micro command line tool with IMAP IDLE support + notify/run command
mailbox synchronizer
Brought to you by:
ossi
Hello, if you have developed all the codebase about IMAP syncing, what about a micro command line utility, that connects to the IMAP INBOX and with support for IMAP IDLE command waits for new mails and if new mail arrives, runs configured command. This combo (with standard mbsync as configured command) will provide immediate synces, something like EMAIL PUSH on the iPhones, which will be just perfect (i guess)! :)
a somewhat related tool is available from http://mswatch.sourceforge.net/
i don't think it would be terribly useful to turn mbsync into such a tool itself.
what would make a lot more sense is directly supporting IDLE and related extensions. there was ample discussion of this on the mailing list and there are relevant TODO items. contributions welcome!