On Sun, Jun 14, 2020 at 09:24:52AM +0530, Aneesh Kumar wrote:
I have a config where marking files read via thunderbird directly on the IMAP server doesn't get reflected once I run mbsy[n]c.

a quick attempt to reproduce this was unsuccessful.
which version of mbsync are you running?

i'd probably start with the -D output of the working and non-working configuration.

Without the Expunge the read/unread flags are not synched from the master to slave. The reverse works though.

have you tested what the respective effects of one-sided expunges are?

have you tried whether there is a difference between specifying the options in the config file and on the command line?

I am wondering whether the OPEN_FLAG should be set outside EXPUNGE too?

did you actually try that? did it work?

On Sun, Jun 14, 2020 at 12:40:48PM +0200, Oswald Buddenhagen wrote:
i'm not entirely sure yet (i wrote this code a long time ago, and the logic is quite convoluted ...), but i think in the OPEN_SETFLAGS branch it should do OPEN_OLD|OPEN_FLAGS.

turns out that this is wrong - maildir_set_msg_flags() will work just fine without OPEN_FLAGS. there is in fact a bug, but it's unlikely to actually affect anyone (despite trying, it wouldn't actually set flags on messages which don't have a :2, part yet - which in practice appear to be exactly none).


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

Reply via email to