[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

imapsync error: can't locate object method "EOF"


From Richard Otte <bahboric at gmail dot com>
Subject imapsync error: can't locate object method "EOF"
Date Sat, 05 Sep 2009 18:55:35 -0700

Hi,

I am using imapsync 1.252-1 on Debian Lenny, and am trying to sync two
imap accounts.  I begin by going from host1 to host2, with a command like:

imapsync   --host1 cruzmail.ucsc.edu --user1 name1 --password1  PWCHANGED
--host2 2ndimapserver --user2 name2 --password2  PWCHANGED --folderrec
0-Archived/1992-1998/kristenlee  --ssl2 --authmech2 PLAIN

That sort of command will work for some folders, but for some I get the
following output:

$RCSfile: imapsync,v $ $Revision: 1.252 $ $Date: 2008/05/08 02:30:17 $
Here is a [linux] system (Linux perelandra 2.6.26-2-amd64 #1 SMP Sun Jun
21 04:47:08 UTC 2009 x86_64)
with perl 5.10.0 and the module Mail::IMAPClient version used here is 2.2.9
Command line used :
/usr/bin/imapsync --host1 cruzmail.ucsc.edu --user1 name1 --password1  PWCHANGED
--host2 otte.ucsc.edu --user2 name2 --password2  PWCHANGED --folderrec
0-Archived/1992-1998/kristenlee --ssl2 --authmech2 PLAIN
Turned ON syncinternaldates, will set the internal dates on host2 same
as host1.
TimeZone:[PDT]
Will try to use CRAM-MD5 authentication on host1
Will try to use PLAIN authentication on host2
>From imap server [cruzmail.ucsc.edu] port [143] user [name1]
To   imap server [otte.ucsc.edu] port [993] user [name2]
Banner: * OK CommuniGate Pro IMAP Server 5.2.13 at
email-prod-fe-2.ucsc.edu ready
Host cruzmail.ucsc.edu says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5
Success login on [cruzmail.ucsc.edu] with user [name1] auth [CRAM-MD5]
Banner: No banner
Host otte.ucsc.edu says it has CAPABILITY for AUTHENTICATE PLAIN
Success login on [otte.ucsc.edu] with user [name2] auth [PLAIN]
>From capability : ID ESEARCH QUOTA STARTTLS NAMESPACE MULTIAPPEND
SASL-IR IDLE LOGIN-REFERRALS UNSELECT BINARY UIDPLUS IMAP4 IMAP4REV1
AUTH=PLAIN LISTEXT AUTH=LOGIN ACL LITERAL+ CHILDREN
To   capability : NAMESPACE MULTIAPPEND SASL-IR AUTH=PLAIN IDLE
LOGIN-REFERRALS UNSELECT LITERAL+ SORT CHILDREN IMAP4REV1 THREAD=REFERENCES
>From state Authenticated
To   state Authenticated
>From separator and prefix : [/][]
To   separator and prefix : [.][]
++++ Calculating sizes ++++
>From Folder [0-Archived/1992-1998/kristenlee]   Size:    117744
Messages:    56
Total size: 117744
Total messages: 56
Time: 2 s
++++ Calculating sizes ++++
To   Folder [0-Archived.1992-1998.kristenlee]   Size:    117744
Messages:    56
Total size: 117744
Total messages: 56
Time: 0 s
++++ Listing folders ++++
>From folders list : [0-Archived/1992-1998/kristenlee]
To   folders list : [0-Archived.1992-1998.kristenlee]
++++ Looping on each folder ++++
>From Folder [0-Archived/1992-1998/kristenlee]
To   Folder [0-Archived.1992-1998.kristenlee]
++++ From [0-Archived/1992-1998/kristenlee] Parse 1 ++++
++++ To   [0-Archived.1992-1998.kristenlee] Parse 1 ++++
Can't locate object method "EOF" via package
"IO::Socket::SSL::SSL_HANDLE" at /usr/share/imapsync//Mail/IMAPClient.pm
line 1721.

Any suggestions on what to do would be appreciated.
Thanks,
Ric