isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit e6c6840651b794e00bd1dc800a47079d82b121ff
parent a652043934292a989d2d7ad1e10008c880a5b586
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Tue, 12 Apr 2022 10:32:19 +0200

make sure we fetch source flags when resuming --renew

... and the target is expunged.

Diffstat:
Msrc/sync.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/sync.c b/src/sync.c @@ -742,6 +742,8 @@ box_opened2( sync_vars_t *svars, int t ) t = !srec->uid[F] ? F : N; opts[t] |= OPEN_APPEND; opts[t^1] |= OPEN_OLD; + if (chan->ops[t] & OP_EXPUNGE) // Don't propagate doomed msgs + opts[t^1] |= OPEN_FLAGS; } } }