Hi everybody! I successfully used mbsync to transfer 300G Emails in 10 accounts from one imap server to another. I used one channel per account and the settings
Expunge Slave Create Slave Sync Pull CopyArrivalDate yes I write successfully but here comes my problem: At some time I made a misstake with the configuration which resulted in mbsync starting to redownload some mailboxes. I noticed it early and corrected it, but there were some hundrets of emails downloaded to some of the slave accounts. When I restarted the synchronization proberly those emails where just ignored by mbsync. I think that's the right thing to do with my settings. But I need to get rid of those emails. Basically they are duplets on the slave, once downloaded by the regular sync and tracked in the state files and once downloaded by my misconfigured sync (and not tracked in the state files). Is there any way to delete all emails on the slave side that are not associated with an email on the master side? This is a one-direction sync, there are no messages on the slave that don't come from the master. I guess I could solve my problem by a small script that compares the slave uuids from the state files with the uuids from the slave imap server and delete all emails on the server that don't match an entry in the correspondig state file. Would that be correct and is there some way to do this without writing a script but with mbsync? Thanks for any help! Markus ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel