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

Re: Problem syncing w/ gmail


From "Paul V. Gratz" <pgratz at gratz1 dot com>
Subject Re: Problem syncing w/ gmail
Date Thu, 12 Feb 2009 13:33:04 -0600

Unfortunately, I'm still stuck on this one.  I was wondering, would it
be helpful to post the output of debug or imapdebug?
Thanks!
Paul

On Thu, Feb 5, 2009 at 10:01 PM, Paul V. Gratz <pgratz at gratz1 dot com> wrote:
> Hi all,
>
> I've been trying to transfer a large set of folders on a local courier
> imap server up to gmail (actually gmail apps).   Here is the command
> line I'm using:
>
> imapsync  --host1 192.168.1.101 --user1 (user1) --password1  PWCHANGED
> --host2 imap.gmail.com --user2 "user2 at apps" --password2   PWCHANGED
> --ssl2 --authmech2 LOGIN  --prefix1 INBOX. --exclude Sent --exclude
> trips --exclude Tools --exclude Deleted --exclude Trash
>
> $RCSfile: imapsync,v $ $Revision: 1.267 $ $Date: 2008/10/07 11:36:02 $
> Here is a [linux] system (Linux pglaptop 2.6.25-tuxonice-r1test #5 SMP
> PREEMPT Wed Dec 10 09:47:34 CST 2008 i686)
> with perl 5.8.8
> Mail::IMAPClient  2.2.9
> IO::Socket        1.29
> IO::Socket::SSL
> Digest::MD5       2.36
> Digest::HMAC_MD5  1.01
> Term::ReadKey
> Date::Manip
>  and the module Mail::IMAPClient version used here is 2.2.9
> Command line used :
> .(snip command line)
> Turned ON syncinternaldates, will set the internal dates on host2 same as host1.
> TimeZone :[CST]
> Will try to use CRAM-MD5 authentication on host1
> Will try to use LOGIN authentication on host2
> From imap server [192.168.1.101] port [143] user [user1]
> To   imap server [imap.gmail.com] port [993] user [user2]
> Banner : * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
> STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision,
> Inc.  See COPYING for distribution information.
> Host 192.168.1.101 says it has NO CAPABILITY for AUTHENTICATE CRAM-MD5
> Error login : [192.168.1.101] with user [user1] auth [CRAM-MD5]: 3 NO
> Login failed.
>
> Trying LOGIN Auth mechanism on [192.168.1.101] with user [user1]
> Success login on [192.168.1.101] with user [user1] auth [CRAM-MD5]
> Banner : * OK Gimap ready for requests from 74.192.199.151 e20if237057fga.46
> Host imap.gmail.com says it has NO CAPABILITY for AUTHENTICATE LOGIN
> Success login on [imap.gmail.com] with user [pgratz at gratz1 dot com] auth [LOGIN]
> From capability : QUOTA STARTTLS NAMESPACE IDLE THREAD=ORDEREDSUBJECT
> ACL SORT UIDPLUS CHILDREN ACL2=UNION IMAP4REV1 THREAD=REFERENCES
> To   capability : XYZZY QUOTA NAMESPACE IDLE UNSELECT CHILDREN IMAP4REV1 XLIST
> From state Authenticated
> To   state Authenticated
> Excluding folders matching pattern 'Sent': INBOX.Sent INBOX.Sent Items
> INBOX.Sent items
> Excluding folders matching pattern 'trips': INBOX.School.CART.trips
> INBOX.School.CART.trips.bringup INBOX.School.CART.trips.bugzilla
> INBOX.School.CART.trips.ibm_timing
> INBOX.School.CART.trips.verilog_sub-unit
> Excluding folders matching pattern 'Tools': INBOX.School.CART.Tools
> INBOX.School.CART.Tools.condor
> Excluding folders matching pattern 'Deleted': INBOX.Deleted Items
> Excluding folders matching pattern 'Trash': INBOX.Trash INBOX.Trash.Cron
> Using [INBOX.] given by --prefix1
> From separator and prefix : [.][INBOX.]
> To   separator and prefix : [/][]
> ++++ Calculating sizes ++++
> From Folder [INBOX]                             Size:         0 Messages:     0
> From Folder [INBOX.CollegeStationHome]          Size:   2181012 Messages:   223
> From Folder [INBOX.Drafts]                      Size:         0 Messages:     0
> From Folder [INBOX.People]                      Size:         0 Messages:     0
> From Folder [INBOX.People.Family]               Size: 648259119 Messages:  2385
> From Folder [INBOX.People.Friends]              Size: 207508443 Messages:  4874
> From Folder [INBOX.People.Friends.Tina]         Size:   1462018 Messages:    92
> From Folder [INBOX.People.Friends.cards]        Size:   1316869 Messages:   223
> From Folder [INBOX.People.Friends.poker]        Size:   7155558 Messages:   521
> From Folder [INBOX.People.Friends.reunion]      Size:  16424073 Messages:   170
> From Folder [INBOX.People.Heidi]                Size:  64612426 Messages:  1435
> From Folder [INBOX.People.Wedding]              Size:   4799612 Messages:    31
> From Folder [INBOX.Records]                     Size:  12413620 Messages:  1206
> From Folder [INBOX.Records.Stock]               Size:    363877 Messages:    51
> From Folder [INBOX.Records.apt]                 Size:  34736760 Messages:   267
> From Folder [INBOX.Records.domain]              Size:    157888 Messages:    22
> From Folder [INBOX.School]                      Size:   5278026 Messages:   265
> From Folder [INBOX.School.AcademicJob]          Size:         0 Messages:     0
> From Folder [INBOX.School.CART]                 Size:  22058048 Messages:  1055
> From Folder [INBOX.School.CART.AAAdiskspace]    Size:    328003 Messages:    56
> From Folder [INBOX.School.CART.Dissertation]    Size:   7169843 Messages:   202
> From Folder [INBOX.School.CART.Research]        Size:  23317892 Messages:   375
> From Folder [INBOX.School.CART.Research.ISCA_perf_paper] Size:
> 2023626 Messages:    71
> From Folder [INBOX.School.CART.Research.OPNpaper] Size:  25909485
> Messages:   105
> From Folder [INBOX.School.CART.Research.grant_proposal] Size:
> 72071 Messages:    17
> From Folder [INBOX.School.CART.Research.iccd06] Size:  17085329 Messages:    85
> From Folder [INBOX.School.CART.Research.ieeemicro] Size:   3799386
> Messages:    88
> From Folder [INBOX.School.CART.Research.micro08] Size:     78970 Messages:    17
> From Folder [INBOX.School.CART.Research.paper_review] Size:   1252939
> Messages:    53
> From Folder [INBOX.School.CART.Research.rca_hpca] Size:  16670640
> Messages:   568
> From Folder [INBOX.School.CART.Research.tsim_cyc] Size:   1891176
> Messages:   103
> From Folder [INBOX.School.CART.social]          Size:   4813966 Messages:   950
> From Folder [INBOX.School.CS352H]               Size:   2386695 Messages:   258
> From Folder [INBOX.School.ca_readings]          Size:    130456 Messages:     6
> From Folder [INBOX.School.isca09]               Size:     16562 Messages:     3
> From Folder [INBOX.School.societies]            Size:      3692 Messages:     1
> From Folder [INBOX.School.societies.ieee]       Size:   5990879 Messages:    52
> From Folder [INBOX.School.societies.taubetapi]  Size:    940334 Messages:    53
> From Folder [INBOX.Templates]                   Size:         0 Messages:     0
> Total size: 1142609293
> Total messages: 15883
> Time : 42 s
> ++++ Calculating sizes ++++
> To   Folder [CollegeStationHome]                Size:   1771196 Messages:   222
> To   Folder [Drafts]                            Size:         0 Messages:     0
> To   Folder [INBOX]                             Size:   3200400 Messages:    26
> To   Folder [People]                            Size:         0 Messages:     0
> To   Folder [People/Family]                     Size:    595445 Messages:    83
> To   Folder [People/Friends]                    Size:    787171 Messages:   141
> To   Folder [People/Friends/Tina]              does not exist yet
> To   Folder [People/Friends/cards]             does not exist yet
> To   Folder [People/Friends/poker]             does not exist yet
> To   Folder [People/Friends/reunion]           does not exist yet
> To   Folder [People/Heidi]                     does not exist yet
> To   Folder [People/Wedding]                   does not exist yet
> To   Folder [Records]                          does not exist yet
> To   Folder [Records/Stock]                    does not exist yet
> To   Folder [Records/apt]                      does not exist yet
> To   Folder [Records/domain]                   does not exist yet
> To   Folder [School]                           does not exist yet
> To   Folder [School/AcademicJob]               does not exist yet
> To   Folder [School/CART]                      does not exist yet
> To   Folder [School/CART/AAAdiskspace]         does not exist yet
> To   Folder [School/CART/Dissertation]         does not exist yet
> To   Folder [School/CART/Research]             does not exist yet
> To   Folder [School/CART/Research/ISCA_perf_paper]does not exist yet
> To   Folder [School/CART/Research/OPNpaper]    does not exist yet
> To   Folder [School/CART/Research/grant_proposal]does not exist yet
> To   Folder [School/CART/Research/iccd06]      does not exist yet
> To   Folder [School/CART/Research/ieeemicro]   does not exist yet
> To   Folder [School/CART/Research/micro08]     does not exist yet
> To   Folder [School/CART/Research/paper_review]does not exist yet
> To   Folder [School/CART/Research/rca_hpca]    does not exist yet
> To   Folder [School/CART/Research/tsim_cyc]    does not exist yet
> To   Folder [School/CART/social]               does not exist yet
> To   Folder [School/CS352H]                    does not exist yet
> To   Folder [School/ca_readings]               does not exist yet
> To   Folder [School/isca09]                    does not exist yet
> To   Folder [School/societies]                 does not exist yet
> To   Folder [School/societies/ieee]            does not exist yet
> To   Folder [School/societies/taubetapi]       does not exist yet
> To   Folder [Templates]                        does not exist yet
> Total size: 6354212
> Total messages: 472
> Time : 21 s
> ++++ Listing folders ++++
> From folders list : [INBOX] [INBOX.CollegeStationHome] [INBOX.Drafts]
> [INBOX.People] [INBOX.People.Family] [INBOX.People.Friends]
> [INBOX.People.Friends.Tina] [INBOX.People.Friends.cards]
> [INBOX.People.Friends.poker] [INBOX.People.Friends.reunion]
> [INBOX.People.Heidi] [INBOX.People.Wedding] [INBOX.Records]
> [INBOX.Records.Stock] [INBOX.Records.apt] [INBOX.Records.domain]
> [INBOX.School] [INBOX.School.AcademicJob] [INBOX.School.CART]
> [INBOX.School.CART.AAAdiskspace] [INBOX.School.CART.Dissertation]
> [INBOX.School.CART.Research]
> [INBOX.School.CART.Research.ISCA_perf_paper]
> [INBOX.School.CART.Research.OPNpaper]
> [INBOX.School.CART.Research.grant_proposal]
> [INBOX.School.CART.Research.iccd06]
> [INBOX.School.CART.Research.ieeemicro]
> [INBOX.School.CART.Research.micro08]
> [INBOX.School.CART.Research.paper_review]
> [INBOX.School.CART.Research.rca_hpca]
> [INBOX.School.CART.Research.tsim_cyc] [INBOX.School.CART.social]
> [INBOX.School.CS352H] [INBOX.School.ca_readings] [INBOX.School.isca09]
> [INBOX.School.societies] [INBOX.School.societies.ieee]
> [INBOX.School.societies.taubetapi] [INBOX.Templates]
> To   folders list : ["Accounts"] ["Seminars"] ["[Gmail]"] ["ieee"]
> [Academic Job Search] [Accounts/Records] [Admin] [Austin Condo] [CS
> Properties] [CollegeStationHome] [Deleted Items] [Drafts] [ECEN676
> Spr08] [Family] [Friends] [Funding] [Grant Writing Workshop] [Heidi]
> [INBOX] [Infrastructure] [Jiang Collaboration] [NOCS09] [Office
> Furniture] [People] [People/Family] [People/Friends] [Research]
> [Seminars/Talks] [Sent Items] [Student Inquiries] [TAMU] [Teaching
> General] [UT] [[Gmail]/All Mail] [[Gmail]/Drafts] [[Gmail]/Sent Mail]
> [[Gmail]/Spam] [[Gmail]/Starred] [[Gmail]/Trash] [gmail] [ieee/acm]
> [poker] [social] [tools]
> ++++ Looping on each folder ++++
> From Folder [INBOX]
> To   Folder [INBOX]
> ++++ From [INBOX] Parse 1 ++++
> ++++ To   [INBOX] Parse 1 ++++
> ++++ Verifying [INBOX] -> [INBOX] ++++
> Time : 19 s
> From Folder [INBOX.CollegeStationHome]
> To   Folder [CollegeStationHome]
> ++++ From [INBOX.CollegeStationHome] Parse 1 ++++
> ++++ To   [CollegeStationHome] Parse 1 ++++
> ++++ Verifying [INBOX.CollegeStationHome] -> [CollegeStationHome] ++++
> + NO msg #144 [e6zq0Mpt4ZbUsTHtO4ViOw:409816] in CollegeStationHome
> + Copying msg #144:409816 to folder CollegeStationHome
> flags from : [\Seen]["17-Sep-2008 15:29:10 -0600"]
> Copied msg id [144] to folder CollegeStationHome msg id
> [Mail::IMAPClient=HASH(0x855d4b0)]
> Time : 167 s
> From Folder [INBOX.Drafts]
> To   Folder [Drafts]
> ++++ From [INBOX.Drafts] Parse 1 ++++
> ++++ To   [Drafts] Parse 1 ++++
> ++++ Verifying [INBOX.Drafts] -> [Drafts] ++++
> Time : 1 s
> From Folder [INBOX.People]
> To   Folder [People]
> ++++ From [INBOX.People] Parse 1 ++++
> ++++ To   [People] Parse 1 ++++
> ++++ Verifying [INBOX.People] -> [People] ++++
> Time : 1 s
> From Folder [INBOX.People.Family]
> To   Folder [People/Family]
> ++++ From [INBOX.People.Family] Parse 1 ++++
> ++++ To   [People/Family] Parse 1 ++++
> ++++ Verifying [INBOX.People.Family] -> [People/Family] ++++
> + NO msg #9 [Jp8MY94vtS/MecqHnGLFdg:5380] in People/Family
> + Copying msg #9:5380 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:40:12 -0600"]
> Copied msg id [9] to folder People/Family msg id
> [Mail::IMAPClient=HASH(0x855d4b0)]
> + NO msg #11 [Ja+mVZcXgMOrJx5c6RXBhA:342786] in People/Family
> + Copying msg #11:342786 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:40:14 -0600"]
> Copied msg id [11] to folder People/Family msg id
> [Mail::IMAPClient=HASH(0x855d4b0)]
> + NO msg #14 [LieZ+zdsLyMaI53gUSxLZg:71793] in People/Family
> + Copying msg #14:71793 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:40:07 -0600"]
>
>
> After lots of output it gets to a particular folder and I get this set
> of messages:
>
> Copied msg id [38] to folder People/Family msg id
> [Mail::IMAPClient=HASH(0x855d4b0)]
> + NO msg #39 [2s6GSp12IclfqDnCCqSDpg:3133] in People/Family
> + Copying msg #39:3133 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:37:39 -0600"]
> Couldn't append msg #39 (Subject:[]) to folder People/Family: Search
> completed successfully but found no matching messages
>
> + NO msg #40 [52qUsDbmHRhKlsroUF85CQ:3589] in People/Family
> + Copying msg #40:3589 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:37:55 -0600"]
> Couldn't append msg #40 (Subject:[]) to folder People/Family: Search
> completed successfully but found no matching messages
>
> + NO msg #41 [eUZM8ProDIxvraLkD2D6+w:8921] in People/Family
> + Copying msg #41:8921 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:37:42 -0600"]
> Couldn't append msg #41 (Subject:[Hola]) to folder People/Family:
> Search completed successfully but found no matching messages
>
> + NO msg #42 [T+ru3hB7+VipugQZuM2EoQ:489254] in People/Family
> + Copying msg #42:489254 to folder People/Family
> flags from : [\Seen]["08-Aug-2002 15:37:53 -0600"]
>
> at that point it just ends without any other output.
>
> I'd really appreciate any suggestions anyone might have.
> Thanks!
> Paul
>
> --
> -----------------------------------------
> Paul V. Gratz
> Assistant Professor
> Department of ECE, Texas A&M University
> Office: 333D WERC
> Phone: 979-458-4126
>



-- 
-----------------------------------------
Paul V. Gratz
Assistant Professor
Department of ECE, Texas A&M University
Office: 333D WERC
Phone: 979-458-4126