On 11/30/2021 03:14 PM, Oswald Buddenhagen wrote: > On Tue, Nov 30, 2021 at 02:25:57PM -0500, H wrote: >> After having done so, I have noticed gaps of a couple of months in my Sent >> Mail folder yet I have been able to ascertain that the missing e-mails >> indeed exist in my mbsync backup. >> > did you delete any remaining mbsync state files from the backup _before_ > trying to upload it to the new server? No, I had not done that. I had run the following scripts that I found on https://aaronweb.net/blog/2014/11/migrating-mail-between-imap-servers-using-mbsync/ and restored to a test mailbox on 1&1.
$ find . -type f -name '.??*' -delete $ find . -type f -name '*U=*' | { while read f; do mv "$f" "`echo $f | sed -e 's/,U=[0-9]*//'`"; done } $ find . -type f -name '*U=*' Then used mbsync to restore to this test mailbox followed by watching what thunderbird downloaded. The gaps were there. Is it correct to do the above? I can try restoring again after deleting the .mbsyncstate file but should I also run the scripts above? In addition, I tried restoring to a local directory in thunderbird using the add-on ImportExportTools. That seemed to work fine and Sent emails during these two gap periods were indeed restored to the local directory proving that they did exist. > >> I suspect that there is some incompatibility [...] >> > the mailbox formats are irrelevant. both mbsync and thunderbird are talking > IMAP with the server, and if there was something wrong with the mails, you > should be receiving error messages. > > you can re-run mbsync with -V to see if it thinks it synced all messages. > > > _______________________________________________ > isync-devel mailing list > isync-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/isync-devel _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel