calling mbsync multiple times in quick succession

2022-08-12 Thread Bence Ferdinandy
I'm thinking on setting on mbsync with imapnotify instead of a regularly scheduled sync, but I'm concerned what happens if I get 5 emails in the span of 5 seconds will mbsync corrupt it's state. I have two related questions: - If I receive an email at t=0 and start mbsync and then receive emails w

Re: sync only inbox?

2022-08-12 Thread Oswald Buddenhagen
On Fri, Aug 12, 2022 at 08:34:38AM +0200, Bence Ferdinandy wrote: Can I ask mbsync to only sync the Inbox without reconfiguring to Inbox being a channel instead? that question makes no sense, as you always need both stores and a channel. and having a channel that uses only the inbox from that s

Re: sync only inbox?

2022-08-12 Thread Bence Ferdinandy
Ah, I actually get where I tricked myself and thought that the inbox was just magically synced without a channel ... thanks! Oswald Buddenhagen ezt írta (időpont: 2022. aug. 12., P, 9:37): > On Fri, Aug 12, 2022 at 08:34:38AM +0200, Bence Ferdinandy wrote: > >Can I ask mbsync to only sync the In

Re: calling mbsync multiple times in quick succession

2022-08-12 Thread Oswald Buddenhagen
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, a

Re: calling mbsync multiple times in quick succession

2022-08-12 Thread Bence Ferdinandy
thanks for the script and clearing that up for me! Oswald Buddenhagen ezt írta (időpont: 2022. aug. 12., P, 9:52): > 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 g