On 19 Jan 2022, at 13:00, Oswald Buddenhagen <oswald.buddenha...@gmx.de> wrote: > On Wed, Jan 19, 2022 at 11:20:10AM +0000, Simão Afonso wrote: >> Since this is coming up, I would like this "daemon mode" to use IDLE to >> subscribe to the Inbox mailboxes, and run the equivalent of `mbsync >> ACCOUNT` when new messages come up. >> > that's an option, but it's a whole different caliber. > it's also in the TODO and has been previously discussed. ;) > >> The performance improvements here would be to reuse the server >> connection, >> I'm almost sure that dominates the sync process when there >> are no changes. >> > only when you sync only new messages, or keep relatively empty mailboxes. > otherwise determining the status quo dominates vastly. this could be improved > with the QRESYNC extension, as discussed here quite recently.
Yes. Or, multiple connections could be maintained to monitor each (important/subscribed, perhaps) folder on the server. Impolite but, in service of a nearly-instantaneous update of the local maildirs, could be well worth it. The high cost of iterating over each folder, getting the statuses, doing the local comparison, then syncing changes is, I would imagine, the real reason you’d want a “daemon” mode. Well, I can dream … Sorry about that—simply had to get my twopenneth in there. :) Cheers, Sabahattin _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel