|
From: Oswald B. <osw...@gm...> - 2022-08-12 07:52:20
|
On Fri, Aug 12, 2022 at 09:02:01AM +0200, Bence Ferdinandy wrote: >- If I receive an email at t=0 and start mbsync and then receive emails >while mbsync is still running I'm guessing those emails may or may not be >synced depending on when exactly they arrived, but no guarantees, right? > correct, as documented under "inherent problems" in the manual. >- Would mbsync be confused if multiple instances were triggered in >parallel? > no, as documented in "description" in the manual. but it won't quite do what you want, either: >Basically what I'm thinking about is that if parallel running is not a >problem, than the best and easiest would just to trigger on all incoming >mail so I get it as fast as possible > that won't guarantee that you actually get the mails in a timely manner, as the subsequent instances will just exit immediately. >Or are there any best practices for this? > i'm using the attached script, which does box-specific event compression and allows invoking a post-sync action (i use box-specific audio signals). |