Complete.Org: Mailing Lists: Archives: offlineimap: August 2009:
Re: Google Chats with offlineimap
Home

Re: Google Chats with offlineimap

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: Google Chats with offlineimap
From: Ng Oon-Ee <ngoonee@xxxxxxxxx>
Date: Sat, 29 Aug 2009 07:14:34 +0800

Hi, should I top-post my reply?

Anyway, did -1 -d imap, deleted my plaintext username/password, but the
file is 12.5 MB, and so should not be attached to this email I presume.
Do I send it to a private mailbox, or should I cut off the error
section, as I see it?

On Fri, 2009-08-28 at 16:55 -0500, John Goerzen wrote:
> Can you rerun with -1 -d imap, edit out any passwords or confidential
> data, and post the result?
> 
> Ng Oon-Ee wrote:
> > On Thu, 2009-08-13 at 10:42 +0800, Ng Oon-Ee wrote:
> >> On Thu, 2009-08-06 at 06:56 +0800, Ng Oon-Ee wrote:
> >>> On Wed, 2009-08-05 at 15:08 -0500, John Goerzen wrote:
> >>>> Ng Oon-Ee wrote:
> >>>>> Hi all,
> >>>>>
> >>>>> Sometimes my friends forward me google chats, which have additional
> >>>>> headers which look like this:-
> >>>>>
> >>>>> X-Google-Chat-Start: 1249355382000
> >>>>> X-Google-Chat-End: 1249360592000
> >>>>> X-Google-Chat-With: someone's.email@xxxxxxxxx
> >>>>>
> >>>>> Offlineimap's python parser chokes on uploading these messages to the
> >>>>> IMAP server. Removing those lines fixes the issue, but I have to
> >>>>> manually do that everytime I get one of these emails. Note, there is no
> >>>>> problem with downloading from the server, but I tend to file my emails
> >>>>> to another folder, and it can't upload from that folder to the server.> 
> >>>> I think we'd have to see the last bits of a debug log and the specific
> >>>> error messages to have any idea what's going on.
> >>> Ah, silly me, forgot to change the header previously, sorry for messing
> >>> up people's threading.
> >>>
> >>> I will include the debug logs as soon as I get another google chat
> >>> email, I manually correct them when I get them, since I do need to get
> >>> other mails. Will follow up.
> >>>
> >> Whaddaya know, when I finally get a google chat, it works flawlessly
> >> now. I have not updated offlineimap in the meantime (there was a release
> >> today, wasn't there?) so that won't explain it. I did check the mail
> >> itself, it had those three lines as above but synced flawlessly.
> >>
> >> Will continue to keep an eye out, if it happens again will remember to
> >> reproduce and send.
> >>
> > 
> > Finally I got an email with the same error message. While cutting it
> > down to minimal size (basically removing the email) I noticed a few
> > things. Firstly, if I get it to the condition that it IS working
> > (removing X-Google-Chat lines does this, as well as changing the names
> > of the sender/chatted-with-person), the next sync will be successful as
> > well, even though I revert my local copy to the non-working one. This
> > seems to indicate that there is no problem if offlineimap's UID matches
> > the one on Gmail's servers. The problem ONLY appears when I have a 'new'
> > mail which has been copied into my maildir (for example, when moving a
> > mail from my Inbox to its storage folder in Evolution).
> > 
> > Anyway, am attaching the minimal message as far as I can figure it out,
> > which always gives me the error if I paste it into a maildir (does not
> > exist on my server-side gmail), as well as the log of the output from
> > offlineimap with all the errors.
> > 
> 




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