Hello everyone,
I have attempted the suggestion. and this was a improvement. One of the other problems I was having is imapsync would create the folders and then not transfer the message, creating the folders first, solves that problem
Thanks for the suggestion.
but...
I am still getting transfer errors from the old imap server.
here is a copy of the --debugimap option
Code: Select all
Sending: 1994 UID FETCH 704 FLAGS
Sent 26 bytes
Read: * 609 FETCH (UID 704 FLAGS (Junk))
1994 OK UID FETCH completed
flags: line = '1994 UID FETCH 704 FLAGS
'
flags: line = '* 609 FETCH (UID 704 FLAGS (Junk))
'
flags: line = '* 609 FETCH (UID 704 FLAGS (Junk))
' and 1,2,3,4 = 609,704,Junk,
flags: line = '1994 OK UID FETCH completed
'
flags from : [Junk][]
Sending: 929 APPEND Inbox (Junk) {3259}
Sent 32 bytes
Read: 929 BAD syntax error
Error trying to append string: 929 BAD syntax error
Sending: 1995 UID FETCH 704 body.peek[header.fields (Subject)]
Sent 55 bytes
LITERAL: received literal in line * 609 FETCH (UID 704 BODY[HEADER.FIELDS ("SUBJECT")] of length 56; attempting to retrieve from the 88 bytes in: Subject: Microsoft Releases Two Critical New Patches
)
1995 OK UID FETCH completed
<END_OF_iBuffer>
Read: * 609 FETCH (UID 704 BODY[HEADER.FIELDS ("SUBJECT")] Subject: Microsoft Releases Two Critical New Patches
)
1995 OK UID FETCH completed
Couldn't append msg #704 (Subject:[Microsoft Releases Two Critical New Patches]) to folder Inbox: Error trying to append string: 929 BAD syntax error
Sending: 1996 UID FETCH 705 FLAGS
Sent 26 bytes
Read: * 610 FETCH (UID 705 FLAGS (\Seen))
1996 OK UID FETCH completed
flags: line = '1996 UID FETCH 705 FLAGS
'
flags: line = '* 610 FETCH (UID 705 FLAGS (\Seen))
'
flags: line = '* 610 FETCH (UID 705 FLAGS (\Seen))
' and 1,2,3,4 = 610,705,\Seen,
flags: line = '1996 OK UID FETCH completed
'
Autoloading: UID store 3567 +FLAGS (\Seen)
Sending: 930 UID store 3567 +FLAGS (\Seen)
Sent 35 bytes
Read: * 274 FETCH (FLAGS (\Seen $MdnSent))
930 OK STORE completed
Sending: 931 UID FETCH 3567 FLAGS
Sent 26 bytes
Read: * 274 FETCH (FLAGS (\Seen $MdnSent) UID 3567)
931 OK FETCH completed
flags: line = '931 UID FETCH 3567 FLAGS
'
flags: line = '* 274 FETCH (FLAGS (\Seen $MdnSent) UID 3567)
'
flags: line = '* 274 FETCH (FLAGS (\Seen $MdnSent) UID 3567)
' and 1,2,3,4 = 274,,\Seen $MdnSent,3567
flags: line = '931 OK FETCH completed
'
Sending: 1997 UID FETCH 706 FLAGS
Sent 26 bytes
Read: * 611 FETCH (UID 706 FLAGS (\Seen \Answered))
1997 OK UID FETCH completed
flags: line = '1997 UID FETCH 706 FLAGS
'
flags: line = '* 611 FETCH (UID 706 FLAGS (\Seen \Answered))
'
flags: line = '* 611 FETCH (UID 706 FLAGS (\Seen \Answered))
' and 1,2,3,4 = 611,706,\Seen \Answered,
flags: line = '1997 OK UID FETCH completed
'
Autoloading: UID store 3571 +FLAGS (\Seen \Answered)
Sending: 932 UID store 3571 +FLAGS (\Seen \Answered)
Sent 45 bytes
Read: * 275 FETCH (FLAGS (\Seen \Answered $MdnSent))
932 OK STORE completed
Sending: 933 UID FETCH 3571 FLAGS
Sent 26 bytes
Read: * 275 FETCH (FLAGS (\Seen \Answered $MdnSent) UID 3571)
933 OK FETCH completed
flags: line = '933 UID FETCH 3571 FLAGS
'
flags: line = '* 275 FETCH (FLAGS (\Seen \Answered $MdnSent) UID 3571)
'
flags: line = '* 275 FETCH (FLAGS (\Seen \Answered $MdnSent) UID 3571)
' and 1,2,3,4 = 275,,\Seen \Answered $MdnSent,3571
flags: line = '933 OK FETCH completed
'
Sending: 1998 UID FETCH 707 FLAGS
Sent 26 bytes
Read: * 612 FETCH (UID 707 FLAGS (\Seen))
1998 OK UID FETCH completed
flags: line = '1998 UID FETCH 707 FLAGS
'
flags: line = '* 612 FETCH (UID 707 FLAGS (\Seen))
'
flags: line = '* 612 FETCH (UID 707 FLAGS (\Seen))
' and 1,2,3,4 = 612,707,\Seen,
flags: line = '1998 OK UID FETCH completed
'
Autoloading: UID store 3575 +FLAGS (\Seen)
Sending: 934 UID store 3575 +FLAGS (\Seen)
Sent 35 bytes
Read: * 276 FETCH (FLAGS (\Seen $MdnSent))
934 OK STORE completed
Sending: 935 UID FETCH 3575 FLAGS
Sent 26 bytes
Read: * 276 FETCH (FLAGS (\Seen $MdnSent) UID 3575)
935 OK FETCH completed
flags: line = '935 UID FETCH 3575 FLAGS
'
flags: line = '* 276 FETCH (FLAGS (\Seen $MdnSent) UID 3575)
'
flags: line = '* 276 FETCH (FLAGS (\Seen $MdnSent) UID 3575)
' and 1,2,3,4 = 276,,\Seen $MdnSent,3575
flags: line = '935 OK FETCH completed
'
Sending: 1999 UID FETCH 708 FLAGS
Sent 26 bytes
Read: * 613 FETCH (UID 708 FLAGS (\Seen))
1999 OK UID FETCH completed
flags: line = '1999 UID FETCH 708 FLAGS
'
flags: line = '* 613 FETCH (UID 708 FLAGS (\Seen))
'
flags: line = '* 613 FETCH (UID 708 FLAGS (\Seen))
' and 1,2,3,4 = 613,708,\Seen,
flags: line = '1999 OK UID FETCH completed
'
Autoloading: UID store 3579 +FLAGS (\Seen)
Sending: 936 UID store 3579 +FLAGS (\Seen)
Sent 35 bytes
Read: * 277 FETCH (FLAGS (\Seen $MdnSent))
936 OK STORE completed
Sending: 937 UID FETCH 3579 FLAGS
Sent 26 bytes
Read: * 277 FETCH (FLAGS (\Seen $MdnSent) UID 3579)
937 OK FETCH completed
flags: line = '937 UID FETCH 3579 FLAGS
'
flags: line = '* 277 FETCH (FLAGS (\Seen $MdnSent) UID 3579)
'
flags: line = '* 277 FETCH (FLAGS (\Seen $MdnSent) UID 3579)
' and 1,2,3,4 = 277,,\Seen $MdnSent,3579
flags: line = '937 OK FETCH completed
'
Time : 3346 s
++++ Statistics ++++
Time : 3349 sec
Messages transfered : 0
Messages skipped : 271
Total bytes transfered : 0
Total bytes skipped : 10663997
Total bytes error : 15437264
Detected 342 errors
Please, rate imapsync at http://freshmeat.net/projects/imapsync/
You have new mail in /var/spool/mail/root
[root@sbgk-2 imapsync-1.145]#
As you can see above, 342 messages are not being transferd, as all of the errors are exactly the same. I have tried the --nofastio option with no success
Does anybody know what the error "BAD syntax error" means It seems to transfer the other messages just fine. This issue also appears to be unrelated to attachments.
The old server is a University of Washington IMAP4 server which is installed by default on Redhat 8.
Here is the justconnect information:
Code: Select all
$RCSfile: imapsync,v $ $Revision: 1.145 $ $Date: 2005/12/04 01:58:54 $
Mail::IMAPClient version used here is 2.2.9
From imap server [sbgk-2.sbgk.com] port [143] user [hrobinson]
To imap server [grumpy.sbgk.com] port [143] user [harold.robinson@sbgk.com]
CRAM-MD5 not wanted by you
CRAM-MD5 not wanted by you
From software : * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN] sbgk-2.sbgk.com IMAP4rev1 2001.315rh at Tue, 17 Jan 2006 07:13:36 -0800 (PST)
To software : * OK Scalix IMAP server 9.4.2.4 ready on grumpy.sbgk.com
From capability : IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND LOGIN-REFERRALS STARTTLS AUTH=LOGIN
To capability : IMAP4 IMAP4rev1 X-SCALIX-1 X-SCALIX-2 X-SCALIX-3 X-SCALIX-4 ID IDLE LOGIN-REFERRALS NAMESPACE UIDPLUS ACL AUTH=LOGIN AUTH=DIGEST-MD5 AUTH=PLAIN AUTH=CRAM-MD5 AUTH=GSSAPI
From separator and prefix : [/][]
To separator and prefix : [/][]
++++ Calculating sizes ++++
From Folder [Inbox] Size: 26101261 Messages: 613
Total size: 26101261
Total messages: 613
Time : 1 s
++++ Calculating sizes ++++
To Folder [Calendar] Size: 0 Messages: 0
To Folder [Contacts] Size: 0 Messages: 0
To Folder [Deleted Items] Size: 0 Messages: 0
To Folder [Drafts] Size: 678646 Messages: 1
To Folder [INBOX] Size: 10673858 Messages: 277
To Folder [Notes] Size: 0 Messages: 0
To Folder [Redhat Network] Size: 364485 Messages: 80
To Folder [Sent] Size: 50961008 Messages: 99
To Folder [Sent Items] Size: 55878 Messages: 10
To Folder [Tasks] Size: 0 Messages: 0
To Folder [Trash] Size: 0 Messages: 0
To Folder [mbox] Size: 0 Messages: 0
Total size: 62733875
Total messages: 467
Time : 0 s
Thanks everyone for all your suggestions,
Sincerely,
Sideband Samurai