On Thu, Oct 22, 2015 at 05:58:47PM -0400, Peter P. wrote:
> I run the identical setup of (mutt + mbsync) on two computers, and when
> I delete a message on one machine using mutt, it is moved to a trash
> folder. These changes are propagated to the server.
> 
> Now when I go to the second computer, and do a sync, the above deleted
> message is also in the second computer's trash folder. But it
> message shows up in the original folder in mutt, with the deleted "D"
> flag set.
>
you need to tell mbsync to expunge the master, as otherwise the deletion
will be propagated as just the 'D' flag.

> When I change folders in this mutt, or use the 'x' expunge shortcut,
> this message gets moved to the trash folder again, causing a
> duplicate.
> 
apparently, the mutt patch is too stupid to recognize that you're
deleting a message which is already "deleted", so it will happily trash
it again.
you need to tell mbsync to expunge the slave as well.

> This happens regardless of the .mbsynrc option 'Trash' being set or not.
> 
don't use mysync's Trash; it would conflict with what you're trying.

alternatively, use only mbsync's trash (has the possible downside that
you don't have a local trash folder then, but it's also faster).

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

Reply via email to