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.

Each account must be fetched serially, but in between accounts, they can be fetched in parallel.

yes, a naive implementation would be almost trivial with the existing code base. the actual work would be implementing reasonable limits, and making it "presentable", that is, ensuring that the verbose output isn't a complete mess.


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to