-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offlineimap not syncing all folders/messages #687
Comments
I hit a similar problem transferring mail to a new server, but I think it was old data in the meta-files. I've not traced this completely, I suspect it has to do with with the way meta-data is stored by account name. I cleaned out the meta-data and it worked. That's not really a solution for everyday use, however. |
@ssclift Thanks mate, how do you clean out the meta-data? |
There's a *.meta directory. However, I don't really understand what I did there, it just worked... I suspect if your configuration for server1->local and the configuration for local->server2 use completely different account names in the [Accounts] section of the offlineimap.conf, it might do the trick. Removing the meta-data is a messy solution... I was in a hurry. Again, it was just a guess without really understanding the guts. |
Ah ha... I've just had to set up similarly to you after switching email servers. I used separate meta-data directories, and that seems to work. [general] then another config file with [general] Works for me, your mileage may vary. |
Wow, thank you so much! Will try and get back to you! |
@ssclift Sadly, it didn't work :( Same folders and mails missing, exactly the same output as before... I wonder whether directly syncing from imap to imap would do the trick? Also, I read in the docs that nametrans mapping has to be unique, that means merging folders should not be possible? |
Yes, merging folders is not possible. There's a one-to-one mapping between local and remote with the UIDs for the emails for each mailbox. |
What you're attempting to do should be possible. HOWEVER, be sure to not mix the cache data between both syncs setups. Either use different conf file files with uniq metadatadir OR have one config file and two different accounts having uniq remote and local repository sections each. |
General informations
offlineimap -V
): offlineimap v7.2.3Configuration file offlineimaprc
nr1: configuration server1 -> local maildir
nr2: configuration local maildir -> server2
pythonfile (if any)
NO pythonfile
Step 1: Clean Slate
Step 2: Info Server1 -> local maildir
Logs
Step 3: Dry Run Server1 -> local maildir
Logs
Step 4: Real Run Server1 -> local maildir
Logs
Step 5: Info local Maildir -> Server2
Logs
Step 6: Dry Run local Maildir -> Server2
Logs
Step 7: Clean offline imap cache (because of UID validity problems)
Step 8: Real Run local Maildir -> Server2
Logs
Problemdescription
Sadly, some messages are simply not transferred to server 2.
E.g. RemoteAccount3:INBOX UID 3 and 4 are missing.
The same happens for all messages in the following folders:
I suspect this has something to do with my nametrans rules... But I am not quite sure because it works mostly.
The text was updated successfully, but these errors were encountered: