Problem with copying message to the server
Jiri Cerny
jiri.cerny at math.ethz.ch
Thu Jan 27 12:05:43 GMT 2011
You are right, I did not remark this localised date. I tried first the
simpler solution:
LANG=C offlineimap
and the synchronisation went smoothly.
So I know how to workaround my problem for the moment, and it should be trivial
to fix the offlineimap too.
Thank you for your help.
Jiri
On Thu, Jan 27, 2011 at 12:15:10PM +0100, Sebastian Spaeth wrote:
> On Wed, 26 Jan 2011 21:40:33 +0100, Jiri Cerny <ji.cerny at gmail.com> wrote:
> > 2. in mutt move or copy a message from one copy of IMAP folder to
> > another copy of IMAP folder
> > 3. offlineimap again. When offlineimap copies the message to the
> > server I get a python exception as in the log below.
> >
> > I tried with the current git version and I get the same error.
>
> Did some quick google search and it seems that the IMAP Exchange server
> cannot take custom IMAP flags and responds to eg
>
> 19 APPEND test (\Answered \Seen NonJunk) "04-Sep-2009 16:02:06 +0200" {5876}
> Read: 19 BAD Command Argument Error. 11
>
> (src
> http://www.georglutz.de/blog/archives/81-Migrating-from-courier-imap-to-exchange-2007-using-imapsync.html)
>
> But this doesn't seem to be the case here, as you are not using any custom flags in:
>
> APPEND TODO (\Seen) "26-led-2011 18:23:44 +0100" {3294}
>
> Could it be that the localized date format confuses the Exchange server?
>
> imap: savemessage: using date "26-led-2011 18:23:44 +0100"
>
>
> in current git master in offlineimap/folder/IMAP.py, try to add at line
> 331 to test if this is the case (somewhere in the savemessage() function,
> after the date has been set):
>
> if date == "26-led-2011 18:23:44 +0100"
> date = "26-Jan-2011 18:23:44 +0100"
>
> If the message saves fine with this international date, we know the
> culprit.
>
> Sebastian
--
Jiří Černý
ETH Zürich - Departement Mathematik - HG G32.5
Rämistrasse 101
CH-8092 Zürich
phone: +41 (0)44 632 30 16
e-mail: jiri.cerny at math.ethz.ch
More information about the OfflineIMAP-project
mailing list