On Tue, Jul 31, 2007 at 02:03:33PM -0500, John Goerzen wrote:

Hi John,

> I have looked over the log and, looking at that first date you reported, I 
> see it was in the INBOX.mls to start with with UID 79603.  Later, it also 
> appeared with UID 79608.  But OfflineIMAP had not ever called APPEND to 
> write a new message into that folder.
> 
> The inescapable conclusion is that something else had duplicated it, or you 
> are syncing to a local Maildir that is the physical mail store for the IMAP 
> server (a broken and pointless exercise).
Hm no. There is nothing else to doublicate it.
 
> Why this would have started with the newer OfflineIMAP version, I have no 
> idea.
Ok let's try to see it from another perspective again.
When I open a folder localy before I sync again everything works as it should
so let's brake it down to where the mail is and what happesn.

Remote: New mail A in new, others in cur.
Local:  Nothing in new, others in cur.

sync

Remote: New mail A in new, others in cur.
Local: Mail A in new, others in cur.

Scenario 1:
Now let's say I read my new mail A and a new mail arrives on the server.
So I sync.

Remote: New mail B in new, others in cur mail A get's moved to cur.
Local: New mail B in new, mail A now in cur.


Scenario 2:
I'm lazy and don't read mail A still hanging arround in new. Now I sync
again because I really want to get mail B.
Current state:

Remote: A and B in new, rest in cur.
Local: A in new, rest in cur.

Then I sync and get

Remote: A and B in new, rest in cur.
Local: A,A and B in new, rest in cur.

So this is the condition where the sync process seems to be broken.
Based on that pattern I'd guess that the sync process simply doesn't
take in account that there are still mails in new. Mails for the cur
part of the maildir are synced properly.

Maybe that makes it a little clearer and can maybe shed some light on were
to search for the root of the problem.

I'll try to get my hands dirty on it in a few days anyway. Guess I'll first
try to reproduce it on a second system ...

Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to