Complete.Org: Mailing Lists: Archives: offlineimap: August 2007:
Debugging sync logic
Home

Debugging sync logic

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap list <offlineimap@xxxxxxxxxxxx>
Subject: Debugging sync logic
From: Asheesh Laroia <asheesh@xxxxxxxxxxx>
Date: Thu, 16 Aug 2007 11:01:01 -0700 (PDT)

I notice that offlineimap gives me some duplicate emails between a remote 
Dovecot 1.0 and a local Maildir spool.  I want to debug this - are there 
any suggestions?  I get even more duplicates doing IMAP<->IMAP syncing.

Also, where is the core sync logic held?  I found the code a little 
confusingly-organized.  (If there's a DeveloperDocumentation page e.g. on 
the wiki, excuse my failure to find it and just slap me the URL.)

I was thinking of adding some assertions inside the code, or maybe running 
offlineimap in an environment like this:

1. Perform random changes on the Maildir and the IMAP spool
2. Synchronize
3. Verify that it didn't create any duplicate messages.
4. GOTO 1

-- Asheesh.

--
Include me out.




[Prev in Thread] Current Thread [Next in Thread]