Complete.Org: Mailing Lists: Archives: offlineimap: April 2004:
Duplicate copies, negative uids
Home

Duplicate copies, negative uids

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Duplicate copies, negative uids
From: Gregor MacLennan <gregor@xxxxxxx>
Date: Fri, 23 Apr 2004 10:31:06 -0500

Hi,
sorry to trouble people again, but this flurry of activity on the list 
encouraged me to have a yet another bash at getting offlineimap to sync 
two IMAP servers for me. I never got a reply to my message in January, 
so I include it below. If I'm just being stupid and simply am not an 
advanced enough programmer to get this working, just tell me, and I can 
quietly surrender...
many thanks,
gregor


I have been trying to get offlineimap up and working between two IMAP
accounts for a while now, to no avail. The first sync works great, but 
on
the second sync all the emails are copied to the local server again. On 
the
second sync the uids come up as negative. I have tried this between 
cyrus
and courier, and cyrus-cyrus, and the same problem with each (on 
different
systems). I am running Mac OSX Panther.

I include the output for the first and second attempts at sync below:

1st attempt:

This is OfflineIMAP 4.0.0 Rev 509
Python: 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)]
Platform: darwin
Args: ['/usr/bin/offlineimap', '-l', '/Users/admin/offlineimap.log']
MainThread: OfflineIMAP 4.0.0 (Rev 509)
Copyright (C) 2002, 2003 John Goerzen <jgoerzen@xxxxxxxxxxxx>
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.
MainThread: OfflineIMAP 4.0.0 (Rev 509)
MainThread: Copyright (C) 2002, 2003 John Goerzen 
<jgoerzen@xxxxxxxxxxxx>
MainThread: This software comes with ABSOLUTELY NO WARRANTY; see the 
file
MainThread: COPYING for details.  This is free software, and you are 
welcome
MainThread: to distribute it under the conditions laid out in COPYING.
Account sync Test: ***** Processing account Test
Account sync Test: Copying folder structure from IMAP to MappedIMAP
Account sync Test: Establishing connection to mail.serjali.org:143.
Account sync Test: Establishing connection to powermac.local:143.
Folder sync Test[INBOX]: Syncing INBOX: IMAP -> MappedIMAP
Folder sync Test[INBOX]: Scanning folder [MappedIMAP/INBOX]
Folder sync Test[INBOX]: Scanning folder [IMAP/INBOX]
Copy message 6 from INBOX: Copy message 6 IMAP[INBOX] -> 
MappedIMAP[INBOX],
LocalStatus[INBOX]
Copy message 7 from INBOX: Copy message 7 IMAP[INBOX] -> 
MappedIMAP[INBOX],
LocalStatus[INBOX]
Copy message 72 from INBOX: Copy message 72 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 9 from INBOX: Copy message 9 IMAP[INBOX] -> 
MappedIMAP[INBOX],
LocalStatus[INBOX]
Copy message 12 from INBOX: Copy message 12 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 13 from INBOX: Copy message 13 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 14 from INBOX: Copy message 14 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 79 from INBOX: Copy message 79 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 80 from INBOX: Copy message 80 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 81 from INBOX: Copy message 81 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 82 from INBOX: Copy message 82 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 83 from INBOX: Copy message 83 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 20 from INBOX: Copy message 20 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 78 from INBOX: Copy message 78 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 86 from INBOX: Copy message 86 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 87 from INBOX: Copy message 87 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 88 from INBOX: Copy message 88 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 89 from INBOX: Copy message 89 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 90 from INBOX: Copy message 90 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Folder sync Test[INBOX]: Adding flags R to 1 messages  on 
MappedIMAP[INBOX]
Folder sync Test[INBOX]: Adding flags R to 1 messages  on 
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -1 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -7 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -6 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -5 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -4 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -3 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Copy message -2 MappedIMAP[INBOX] ->
LocalStatus[INBOX]
Folder sync Test[INBOX]: Deleting 18 messages (6, 7, 72, 9, 12, 13, 14, 
79,
80, 81, 82, 83, 20, 78, 86, 87, 88, 89) in LocalStatus[INBOX]
Folder sync Test[INBOX]: Adding flags R to 1 messages  on 
LocalStatus[INBOX]
Folder sync Test[INBOX.Trash]: Syncing INBOX.Trash: IMAP -> MappedIMAP
Folder sync Test[INBOX.Trash]: Scanning folder [MappedIMAP/INBOX/Trash]
Folder sync Test[INBOX.Trash]: Scanning folder [IMAP/INBOX.Trash]
Folder sync Test[INBOX.test2]: Syncing INBOX.test2: IMAP -> MappedIMAP
Folder sync Test[INBOX.test2]: Scanning folder [MappedIMAP/INBOX/test2]
Folder sync Test[INBOX.test2]: Scanning folder [IMAP/INBOX.test2]
Copy message 1 from INBOX.test2: Copy message 1 IMAP[INBOX.test2] ->
MappedIMAP[INBOX/test2], LocalStatus[INBOX.test2]
Account sync Test: ***** Finished processing account Test


2nd attempt:

This is OfflineIMAP 4.0.0 Rev 509
Python: 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)]
Platform: darwin
Args: ['/usr/bin/offlineimap', '-l', '/Users/admin/offlineimap2.log']
MainThread: OfflineIMAP 4.0.0 (Rev 509)
Copyright (C) 2002, 2003 John Goerzen <jgoerzen@xxxxxxxxxxxx>
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.
MainThread: OfflineIMAP 4.0.0 (Rev 509)
MainThread: Copyright (C) 2002, 2003 John Goerzen 
<jgoerzen@xxxxxxxxxxxx>
MainThread: This software comes with ABSOLUTELY NO WARRANTY; see the 
file
MainThread: COPYING for details.  This is free software, and you are 
welcome
MainThread: to distribute it under the conditions laid out in COPYING.
Account sync Test: ***** Processing account Test
Account sync Test: Copying folder structure from IMAP to MappedIMAP
Account sync Test: Establishing connection to mail.serjali.org:143.
Account sync Test: Establishing connection to powermac.local:143.
Folder sync Test[INBOX]: Syncing INBOX: IMAP -> MappedIMAP
Folder sync Test[INBOX]: Scanning folder [MappedIMAP/INBOX]
Folder sync Test[INBOX]: Scanning folder [IMAP/INBOX]
New msg sync from INBOX: Copy message -17 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -16 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -15 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -14 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -13 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -12 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -1 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -10 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -9 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -8 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -7 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -6 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -5 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -4 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -3 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -2 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
New msg sync from INBOX: Copy message -11 MappedIMAP[INBOX] -> 
IMAP[INBOX],
LocalStatus[INBOX]
Copy message 6 from INBOX: Copy message 6 IMAP[INBOX] -> 
MappedIMAP[INBOX],
LocalStatus[INBOX]
Copy message 7 from INBOX: Copy message 7 IMAP[INBOX] -> 
MappedIMAP[INBOX],
LocalStatus[INBOX]
Copy message 72 from INBOX: Copy message 72 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 9 from INBOX: Copy message 9 IMAP[INBOX] -> 
MappedIMAP[INBOX],
LocalStatus[INBOX]
Copy message 12 from INBOX: Copy message 12 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 13 from INBOX: Copy message 13 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 14 from INBOX: Copy message 14 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 79 from INBOX: Copy message 79 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 80 from INBOX: Copy message 80 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 81 from INBOX: Copy message 81 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 82 from INBOX: Copy message 82 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 83 from INBOX: Copy message 83 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 20 from INBOX: Copy message 20 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 78 from INBOX: Copy message 78 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 86 from INBOX: Copy message 86 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 87 from INBOX: Copy message 87 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 88 from INBOX: Copy message 88 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 89 from INBOX: Copy message 89 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Copy message 94 from INBOX: Copy message 94 IMAP[INBOX] ->
MappedIMAP[INBOX], LocalStatus[INBOX]
Folder sync Test[INBOX]: Adding flags R to 1 messages  on 
MappedIMAP[INBOX]
Folder sync Test[INBOX]: Deleting flags R to 1 messages on 
MappedIMAP[INBOX]
Folder sync Test[INBOX]: Adding flags R to 1 messages  on 
LocalStatus[INBOX]
Folder sync Test[INBOX]: Deleting flags R to 1 messages on
LocalStatus[INBOX]
Folder sync Test[INBOX]: Deleting 18 messages (6, 7, 72, 9, 12, 13, 14, 
79,
80, 81, 82, 83, 20, 78, 86, 87, 88, 94) in LocalStatus[INBOX]
Folder sync Test[INBOX]: Adding flags R to 1 messages  on 
LocalStatus[INBOX]
Folder sync Test[INBOX.Trash]: Syncing INBOX.Trash: IMAP -> MappedIMAP
Folder sync Test[INBOX.Trash]: Scanning folder [MappedIMAP/INBOX/Trash]
Folder sync Test[INBOX.Trash]: Scanning folder [IMAP/INBOX.Trash]
Folder sync Test[INBOX.test2]: Syncing INBOX.test2: IMAP -> MappedIMAP
Folder sync Test[INBOX.test2]: Scanning folder [MappedIMAP/INBOX/test2]
Folder sync Test[INBOX.test2]: Scanning folder [IMAP/INBOX.test2]
Account sync Test: ***** Finished processing account Test


Any thoughts? I really would like to get offlineimap working (there is 
no
good alternative) and I can't believe it is doing this for everyone.

Oh, and any news about enabling automatic folder creation on the remote
server for true two-way sync? It's a number one feature for me.

Hope you can help a frustrated admin!

Gregor


-------------------------------------------------
Everyone should have http://www.freedom2surf.net/



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