On Mon, Nov 29, 2021 at 12:52:24PM -0500, Peng Bai via isync-devel wrote:
Is there a way to sync messages that are flagged "\Deleted" but not
expunged?
It looks like messages with this flag will not be synced to the
Near side (please see my settings below).
that is correct; you have "expunge near", so pulling deleted messages
would be pointless, as they'd be instantly expunged.
Even if later these flags were
removed, the messages will not be synced.
yes, for efficiency, mbsync skips messages it has already seen. you can
hack the .mbsyncstate, resetting MaxPulledUid back to zero (you wouldn't
want to do that if you used MaxMessages, but you don't).
it might make sense to include undeleted messages into the scope of the
renew sync operation; will have to think it over.
Separately, is there a writeup somewhere that describes how mbsync
processes each message, especially in terms of how flags and settings
interact? It looks like certain flags (e.g., "\Starred", "\Deleted") will
override settings (e.g., MaxSize, PullFlags).
let's say that these behaviors follow logically from what the manual
documents. one could be more explicit about the implications, though.
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel