[take care to not drop the list] On Wed, Sep 06, 2017 at 08:42:32AM +0200, Sebastian Schwarz wrote: > On 2017-09-05, Oswald Buddenhagen wrote: > > a move is fundamentally a deletion and a re-appearance in a > > different place, and that's what mbsync propagates. > > Indeed it is. > > > what do you _expect_? > > What I expect is for mbsync to delete to old message from the > IMAP server and upload the new message. > correct, and this pattern is rather thoroughly tested, being used by me on a regular basis.
> Instead mbsync deletes the old message from the server, but also > deletes the new message from the maildir instead of uploading it. > weird. first, make sure that you sync only [All Mail] or specific labels, but not both. also, make sure to disable gmail's auto-expunge. though these are both unlikely to be the root problem if this happens with other servers as you report. what seems more likely is that you did something wrong with notmuch. it's supposed to alias the actual mails (which mbsync would sync) via symlinks into virtual folders (mbsync should not even know that they exist). your description makes it sound likely that you violated that pattern. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel