Delete from destination if not on source?
Closed this issue · 1 comments
mig5 commented
Hi,
I see the feature to delete from source after copying (#22) - but is there the opposite, to delete mails on the target that weren't present on the source?
My purpose is to keep an exact sync of a gmail account on another IMAP server. If I sync and then on gmail, move some items into a folder (label + archive), on the next sync I'll have a copy in both the folder and in the inbox, on the target, which is not ideal for my purposes.
rgrove commented
Larch is intended for efficient one-way copy operations, but doesn't support full roundtrip syncing. OfflineIMAP might be a better tool for what you want to do.