Package: offlineimap
Version: 4.0.8
Severity: normal

Hello,
I've had this happen two times during the last two months:

------------------
Thread 'New msg sync from spam' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/Base.py", line 207, 
in syncmessagesto_neguid_msg
    successuid = tryappend.savemessage(uid, message, flags)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line 224, 
in savemessage
    date, content)[0] == 'OK')
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 319, in 
append
    return self._simple_command(name, mailbox, flags, date_time)
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 976, in 
_simple_command
    return self._command_complete(name, apply(self._command, (name,) + args))
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 813, in 
_command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
error: APPEND command error: BAD ['Invalid internal date.']
[And after that debug messages]
------------------

And then offlineimap just hangs, it does not listen to <Ctrl>-C, I've
to send SIGTERM. If I re-invoke offline-imap it'll hang on excatly the
same place again. Sadly I've deleted the message and can only provide
the (debug) messages dumped to the terminal, I hope they are
sufficient.

I did not eye the messages more closely, as both of them were spam in
some eastern language.
          thanks, cu andreas

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)

Versions of packages offlineimap depends on:
ii  python2.3                     2.3.4-19   An interactive high-level object-o

-- no debconf information
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/
[EMAIL PROTECTED]:~$ offlineimap
Thread 'New msg sync from spam' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "/usr/lib/python2.3/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/Base.py", line 207, 
in syncmessagesto_neguid_msg
    successuid = tryappend.savemessage(uid, message, flags)
  File "/usr/lib/python2.3/site-packages/offlineimap/folder/IMAP.py", line 224, 
in savemessage
    date, content)[0] == 'OK')
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 319, in 
append
    return self._simple_command(name, mailbox, flags, date_time)
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 976, in 
_simple_command
    return self._command_complete(name, apply(self._command, (name,) + args))
  File "/usr/lib/python2.3/site-packages/offlineimap/imaplib.py", line 813, in 
_command_complete
    raise self.error('%s command error: %s %s' % (name, typ, data))
error: APPEND command error: BAD ['Invalid internal date.']


Last 11 debug messages logged for New msg sync from spam prior to exception:
imap: savemessage: called
imap: savemessage: using date "19-Jan-2038 10:22:36 +0100"
imap: savemessage: initial content is: 'Return-path: <[EMAIL 
PROTECTED]>\r\nEnvelope-to: [EMAIL PROTECTED]: from 151217.cps.virtua.com.br 
([200.174.151.217])\r\n\tby m26s25.vlinux.de with smtp (Exim 4.44)\r\n\tid 
1D9zDt-00009m-JR\r\n\tfor [EMAIL PROTECTED]; Sat, 12 Mar 2005 05:31:43 
+0000\r\nReceived: from btscee.chat.ru (btscee.chat.ru [187.204.172.133]) by 
200.174.151.217 with SMTP id mnvPQufb;\r\n\t Tue, 19 Jan 2038 00:27:36 
-0500\r\nReceived: from btscee.chat.ru (btscee.chat.ru [189.102.224.174]) by 
200.174.151.217 with SMTP id mnvPQufb;\r\n\t Mon, 18 Jan 2038 22:30:36 
-0700\r\nMessage-ID: <[EMAIL PROTECTED]>\r\nX-Mailer: beyond  but\r\nDate: Tue, 
19 Jan 2038 10:22:36 +0500\r\nFrom: "\xa4p\xa7g" <[EMAIL 
PROTECTED]>\r\nReply-To: "\xa4p\xac\xc2" <[EMAIL PROTECTED]>\r\nTo: [EMAIL 
PROTECTED]: 
\xb9C\xc0\xb8,AV,\xb9q\xbcv,\xb5{\xa6\xa1\xafS\xbb\xf9\xa4\xa4(45\xb0_)\r\nOrganization:
 beyond  but\r\nMime-Version: 1.0\r\nContent-Type: 
multipart/alternative;\r\n\tboundary="=_KGnVgKQtXCeL"\r\nX-Spam-Score: 10.3 
(++++++++++)\r\nX-Spam-Report: (10.3 / 8.0 requ) 
BAYES_99=1.886,FRONTPAGE=2.08,HTML_80_90=0.146,HTML_MESSAGE=0.001,MPART_ALT_DIFF=0.066,RCVD_BY_IP=0.067,RCVD_IN_DSBL=0.1,RCVD_IN_XBL=3.076,SUBJ_ILLEGAL_CHARS=2.854
 autolearn=no\r\nContent-Length: 1221\r\n\r\n--=_KGnVgKQtXCeL\r\nContent-Type: 
text/plain; charset="BIG5"\r\nContent-Transfer-Encoding: 7Bit\r\n\r\nUnlike so 
many girls who have made their snooty fundraiser to us.Most impresarios believe 
that eggplant beyond sheriff  guardian angel for particle accelerator.jersey 
cow for piroshki  CEO inside gonad.He called her  (or was it ?).shadow beyond 
steam engine, mating ritual related to, and microscope toward are what made 
America great!When scythe defined by cleavage is surly, chess board about  
inside pork chop.\r\n\r\n--=_KGnVgKQtXCeL\r\nContent-Type: text/html; 
charset="BIG5"\r\nContent-Transfer-Encoding: 7Bit\r\n\r\n<!DOCTYPE HTML PUBLIC 
"-//W3C//DTD HTML 4.0 Transitional//EN">\r\n<html>\r\n\r\n<head>\r\n<meta 
http-equiv="Content-Language" content="zh-tw">\r\n<meta name="GENERATOR" 
content="Microsoft FrontPage 4.0">\r\n<meta name="ProgId" 
content="FrontPage.Editor.Document">\r\n<meta http-equiv="Content-Type" 
content="text/html; 
charset=big5">\r\n<title>\xb9C\xc0\xb8\xa5\xfa\xba\xd0\xa8C\xa4\xf950</title>\r\n</head>\r\n\r\n<body>\r\n\r\n<p>\xb9C\xc0\xb8\xa5\xfa\xba\xd0\xa8C\xa4\xf950\xa4\xb8,\xa6\xa8\xa4H\xa5\xfa\xba\xd0\xa8C\xa4\xf9:45\xa4\xb8</p>\r\n\r\n<p>\xb9q\xbcv\xa8C\xa4\xf9:45\xa4\xb8,</p>\r\n\r\n<p>\xb5{\xa6\xa1:50\xa4\xb8</p>\r\n\r\n<p>\xc1\xd9\xa6\xb3\xa8\xe4\xa5L\xb3\xe1</p>\r\n<p>\xbd\xd0\xa4W:<a
 href="http://alldisk.188.to"; 
target="_blank">\xab\xf6\xa7\xda</a></p>\r\n<p>\xa1@</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </p>\r\n\r\n</body>\r\n\r\n</html>\r\n\r\n--=_KGnVgKQtXCeL--\r\n\r\n'
imap: savemessage: new headers are: 
X-OfflineIMAP-x750486623-52656d6f7465-7370616d: 1110614286-0654675079901-v4.0.8
imap: savemessage_addheader: called to add 
X-OfflineIMAP-x750486623-52656d6f7465-7370616d: 1110614286-0654675079901-v4.0.8
imap: savemessage_addheader: insertionpoint = 33
imap: savemessage_addheader: leader = 'Return-path: <[EMAIL PROTECTED]>'
imap: savemessage_addheader: newline = 
'\r\nX-OfflineIMAP-x750486623-52656d6f7465-7370616d: 
1110614286-0654675079901-v4.0.8'
imap: savemessage_addheader: trailer = '\r\nEnvelope-to: [EMAIL PROTECTED]: 
from 151217.cps.virtua.com.br ([200.174.151.217])\r\n\tby m26s25.vlinux.de with 
smtp (Exim 4.44)\r\n\tid 1D9zDt-00009m-JR\r\n\tfor [EMAIL PROTECTED]; Sat, 12 
Mar 2005 05:31:43 +0000\r\nReceived: from btscee.chat.ru (btscee.chat.ru 
[187.204.172.133]) by 200.174.151.217 with SMTP id mnvPQufb;\r\n\t Tue, 19 Jan 
2038 00:27:36 -0500\r\nReceived: from btscee.chat.ru (btscee.chat.ru 
[189.102.224.174]) by 200.174.151.217 with SMTP id mnvPQufb;\r\n\t Mon, 18 Jan 
2038 22:30:36 -0700\r\nMessage-ID: <[EMAIL PROTECTED]>\r\nX-Mailer: beyond  
but\r\nDate: Tue, 19 Jan 2038 10:22:36 +0500\r\nFrom: "\xa4p\xa7g" <[EMAIL 
PROTECTED]>\r\nReply-To: "\xa4p\xac\xc2" <[EMAIL PROTECTED]>\r\nTo: [EMAIL 
PROTECTED]: 
\xb9C\xc0\xb8,AV,\xb9q\xbcv,\xb5{\xa6\xa1\xafS\xbb\xf9\xa4\xa4(45\xb0_)\r\nOrganization:
 beyond  but\r\nMime-Version: 1.0\r\nContent-Type: 
multipart/alternative;\r\n\tboundary="=_KGnVgKQtXCeL"\r\nX-Spam-Score: 10.3 
(++++++++++)\r\nX-Spam-Report: (10.3 / 8.0 requ) 
BAYES_99=1.886,FRONTPAGE=2.08,HTML_80_90=0.146,HTML_MESSAGE=0.001,MPART_ALT_DIFF=0.066,RCVD_BY_IP=0.067,RCVD_IN_DSBL=0.1,RCVD_IN_XBL=3.076,SUBJ_ILLEGAL_CHARS=2.854
 autolearn=no\r\nContent-Length: 1221\r\n\r\n--=_KGnVgKQtXCeL\r\nContent-Type: 
text/plain; charset="BIG5"\r\nContent-Transfer-Encoding: 7Bit\r\n\r\nUnlike so 
many girls who have made their snooty fundraiser to us.Most impresarios believe 
that eggplant beyond sheriff  guardian angel for particle accelerator.jersey 
cow for piroshki  CEO inside gonad.He called her  (or was it ?).shadow beyond 
steam engine, mating ritual related to, and microscope toward are what made 
America great!When scythe defined by cleavage is surly, chess board about  
inside pork chop.\r\n\r\n--=_KGnVgKQtXCeL\r\nContent-Type: text/html; 
charset="BIG5"\r\nContent-Transfer-Encoding: 7Bit\r\n\r\n<!DOCTYPE HTML PUBLIC 
"-//W3C//DTD HTML 4.0 Transitional//EN">\r\n<html>\r\n\r\n<head>\r\n<meta 
http-equiv="Content-Language" content="zh-tw">\r\n<meta name="GENERATOR" 
content="Microsoft FrontPage 4.0">\r\n<meta name="ProgId" 
content="FrontPage.Editor.Document">\r\n<meta http-equiv="Content-Type" 
content="text/html; 
charset=big5">\r\n<title>\xb9C\xc0\xb8\xa5\xfa\xba\xd0\xa8C\xa4\xf950</title>\r\n</head>\r\n\r\n<body>\r\n\r\n<p>\xb9C\xc0\xb8\xa5\xfa\xba\xd0\xa8C\xa4\xf950\xa4\xb8,\xa6\xa8\xa4H\xa5\xfa\xba\xd0\xa8C\xa4\xf9:45\xa4\xb8</p>\r\n\r\n<p>\xb9q\xbcv\xa8C\xa4\xf9:45\xa4\xb8,</p>\r\n\r\n<p>\xb5{\xa6\xa1:50\xa4\xb8</p>\r\n\r\n<p>\xc1\xd9\xa6\xb3\xa8\xe4\xa5L\xb3\xe1</p>\r\n<p>\xbd\xd0\xa4W:<a
 href="http://alldisk.188.to"; 
target="_blank">\xab\xf6\xa7\xda</a></p>\r\n<p>\xa1@</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </p>\r\n\r\n</body>\r\n\r\n</html>\r\n\r\n--=_KGnVgKQtXCeL--\r\n\r\n'
imap: savemessage: new content is: 'Return-path: <[EMAIL 
PROTECTED]>\r\nX-OfflineIMAP-x750486623-52656d6f7465-7370616d: 
1110614286-0654675079901-v4.0.8\r\nEnvelope-to: [EMAIL PROTECTED]: from 
151217.cps.virtua.com.br ([200.174.151.217])\r\n\tby m26s25.vlinux.de with smtp 
(Exim 4.44)\r\n\tid 1D9zDt-00009m-JR\r\n\tfor [EMAIL PROTECTED]; Sat, 12 Mar 
2005 05:31:43 +0000\r\nReceived: from btscee.chat.ru (btscee.chat.ru 
[187.204.172.133]) by 200.174.151.217 with SMTP id mnvPQufb;\r\n\t Tue, 19 Jan 
2038 00:27:36 -0500\r\nReceived: from btscee.chat.ru (btscee.chat.ru 
[189.102.224.174]) by 200.174.151.217 with SMTP id mnvPQufb;\r\n\t Mon, 18 Jan 
2038 22:30:36 -0700\r\nMessage-ID: <[EMAIL PROTECTED]>\r\nX-Mailer: beyond  
but\r\nDate: Tue, 19 Jan 2038 10:22:36 +0500\r\nFrom: "\xa4p\xa7g" <[EMAIL 
PROTECTED]>\r\nReply-To: "\xa4p\xac\xc2" <[EMAIL PROTECTED]>\r\nTo: [EMAIL 
PROTECTED]: 
\xb9C\xc0\xb8,AV,\xb9q\xbcv,\xb5{\xa6\xa1\xafS\xbb\xf9\xa4\xa4(45\xb0_)\r\nOrganization:
 beyond  but\r\nMime-Version: 1.0\r\nContent-Type: 
multipart/alternative;\r\n\tboundary="=_KGnVgKQtXCeL"\r\nX-Spam-Score: 10.3 
(++++++++++)\r\nX-Spam-Report: (10.3 / 8.0 requ) 
BAYES_99=1.886,FRONTPAGE=2.08,HTML_80_90=0.146,HTML_MESSAGE=0.001,MPART_ALT_DIFF=0.066,RCVD_BY_IP=0.067,RCVD_IN_DSBL=0.1,RCVD_IN_XBL=3.076,SUBJ_ILLEGAL_CHARS=2.854
 autolearn=no\r\nContent-Length: 1221\r\n\r\n--=_KGnVgKQtXCeL\r\nContent-Type: 
text/plain; charset="BIG5"\r\nContent-Transfer-Encoding: 7Bit\r\n\r\nUnlike so 
many girls who have made their snooty fundraiser to us.Most impresarios believe 
that eggplant beyond sheriff  guardian angel for particle accelerator.jersey 
cow for piroshki  CEO inside gonad.He called her  (or was it ?).shadow beyond 
steam engine, mating ritual related to, and microscope toward are what made 
America great!When scythe defined by cleavage is surly, chess board about  
inside pork chop.\r\n\r\n--=_KGnVgKQtXCeL\r\nContent-Type: text/html; 
charset="BIG5"\r\nContent-Transfer-Encoding: 7Bit\r\n\r\n<!DOCTYPE HTML PUBLIC 
"-//W3C//DTD HTML 4.0 Transitional//EN">\r\n<html>\r\n\r\n<head>\r\n<meta 
http-equiv="Content-Language" content="zh-tw">\r\n<meta name="GENERATOR" 
content="Microsoft FrontPage 4.0">\r\n<meta name="ProgId" 
content="FrontPage.Editor.Document">\r\n<meta http-equiv="Content-Type" 
content="text/html; 
charset=big5">\r\n<title>\xb9C\xc0\xb8\xa5\xfa\xba\xd0\xa8C\xa4\xf950</title>\r\n</head>\r\n\r\n<body>\r\n\r\n<p>\xb9C\xc0\xb8\xa5\xfa\xba\xd0\xa8C\xa4\xf950\xa4\xb8,\xa6\xa8\xa4H\xa5\xfa\xba\xd0\xa8C\xa4\xf9:45\xa4\xb8</p>\r\n\r\n<p>\xb9q\xbcv\xa8C\xa4\xf9:45\xa4\xb8,</p>\r\n\r\n<p>\xb5{\xa6\xa1:50\xa4\xb8</p>\r\n\r\n<p>\xc1\xd9\xa6\xb3\xa8\xe4\xa5L\xb3\xe1</p>\r\n<p>\xbd\xd0\xa4W:<a
 href="http://alldisk.188.to"; 
target="_blank">\xab\xf6\xa7\xda</a></p>\r\n<p>\xa1@</p>\r\n<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </p>\r\n\r\n</body>\r\n\r\n</html>\r\n\r\n--=_KGnVgKQtXCeL--\r\n\r\n'
imap: savemessage: new content length is 2523


[2]+  Stopped                 offlineimap
[EMAIL PROTECTED]:~$ bg
[2]+ offlineimap &
[EMAIL PROTECTED]:~$ killall offlineimap
[2]+  Beendet                 offlineimap

Reply via email to