Duplicate messages after offlineimap sync

Cosimo Streppone cosimo at streppone.it
Mon Feb 21 06:20:15 GMT 2011


Hi,

I just started using offlineimap last week to locally sync
mails from an imap server. This is on Ubuntu 10.10,
running offlineimap 6.2.0 (6.2.0.2ubuntu1).

It all seemed to work fine, until I noticed
that duplicate messages were appearing in my inbox folder.

Everytime I run offlineimap, it would continue duplicating
every message. They are copied back to the imap server,
thus creating a black hole of duplicated messages that are downloaded
again and again.
Now I have up to 4 duplicates of the same message for some of them.
This seems to happen only in one folder (Archived/2011).

Here's a sample log of what happens.
Any idea?


OfflineIMAP 6.2.0
Copyright (C) 2002 - 2009 John Goerzen <jgoerzen at complete.org>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.

***** Processing account Mail
Copying folder structure from IMAP to Maildir
Establishing connection to imap:993.
Syncing Drafts: IMAP -> Maildir
Scanning folder [Maildir/Drafts]
Establishing connection to imap:993
Syncing Archived/2011: IMAP -> Maildir
Scanning folder [Maildir/Archived.2011]
Syncing INBOX: IMAP -> Maildir
Scanning folder [Maildir/INBOX]
Scanning folder [IMAP/INBOX]
Scanning folder [IMAP/Drafts]
Copy message 172775 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message 172776 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]

Establishing connection to imap:993
Copy message 172777 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
...
Copy message 172790 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]

Scanning folder [IMAP/Archived/2011]
Copy message 172851 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message 172852 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message 172853 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
...
Copy message 172871 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message 172872 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]

# That's where the mess starts I think...
Copy message -2 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172873 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7466 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172874 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7465 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172875 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7464 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172876 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7463 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172877 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7462 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172878 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7461 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172879 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7460 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172880 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7459 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172881 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7458 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172882 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7457 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172883 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7456 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172884 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7455 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172885 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7454 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172886 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7453 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172887 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]
Copy message -7452 Maildir[Archived.2011] -> IMAP[Archived/2011],  
LocalStatus[Archived.2011]
Copy message 172888 IMAP[INBOX] -> Maildir[INBOX], LocalStatus[INBOX]

*** interrupted

-- 
Cosimo




More information about the OfflineIMAP-project mailing list