Package: offlineimap
Version: 5.99.8~bpo40+1
Severity: important

I'm trying to use offlineimap to synchronise some local folders to a
Fastmail account. Unfortunately offlineimap runs into a problem when
doing this. The server seems to refuse to store a message, causing
offlineimap to abort with an AssertionError.

This is rather hard to debug because offlineimap prints out the message
that failed on a single line, and since the message is several megabytes
long... well, ugliness occurs. :)

The output from 'offlineimap -d imap -1' is as follows. Note that I had to
truncate the lines as they were several megabytes long:

Copy message -5327 Maildir[INBOX.AD] -> IMAP[INBOX.AD], LocalStatus[INBOX.AD]
Thread 'New msg sync from INBOX.AD' terminated with exception:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/offlineimap/threadutil.py", line 153, 
in run
    Thread.run(self)
  File "threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/var/lib/python-support/python2.4/offlineimap/folder/Base.py", line 
212, in syncmessagesto_neguid_msg
    successuid = tryappend.savemessage(uid, message, flags, rtime)
  File "/var/lib/python-support/python2.4/offlineimap/folder/IMAP.py", line 
297, in savemessage
    date, content)[0] == 'OK')
AssertionError

Last 18 debug messages logged for New msg sync from INBOX.AD prior to exception:
imap: savemessage: called
imap: savemessage: using date "12-Apr-2008 13:30:06 +0100"
imap: savemessage: initial content is: 'Return-path: <[EMAIL 
PROTECTED]>\r\nEnvelope-to: [EMAIL PROTECTED]
imap: savemessage: new headers are: 
X-OfflineIMAP-1095918053-466173746d61696c-494e424f582e4144: 
1208012838-0853302813991-v5.
imap: savemessage_addheader: called to add 
X-OfflineIMAP-1095918053-466173746d61696c-494e424f582e4144: 
1208012838-0853302813
imap: savemessage_addheader: insertionpoint = 47
imap: savemessage_addheader: leader = 'Return-path: <[EMAIL PROTECTED]>'
imap: savemessage_addheader: newline = 
'\r\nX-OfflineIMAP-1095918053-466173746d61696c-494e424f582e4144: 
1208012838-085330281
imap: savemessage_addheader: trailer = '\r\nEnvelope-to: [EMAIL PROTECTED]: 
Mon, 09 Oct 2006 14:59:54
imap: savemessage: new content is: 'Return-path: <[EMAIL 
PROTECTED]>\r\nX-OfflineIMAP-1095918053-466173746d61
imap: savemessage: new content length is 7474261
imap:   07:24.25 > CGFG13 APPEND INBOX.AD (\Seen) "12-Apr-2008 13:30:06 +0100" 
{7474261}
imap:   07:24.36 < + go ahead
imap:   07:24.36        matched r'\+( (?P<data>.*))?' => (' go ahead', 'go 
ahead')
imap:   07:24.36 write literal size 7474261
imap:   07:37.38 < CGFG13 NO Message contains NUL characters
imap:   07:37.38        matched r'(?P<tag>CGFG\d+) (?P<type>[A-Z]+) 
(?P<data>.*)' => ('CGFG13', 'NO', 'Message contains NUL 
imap:   07:37.39 NO response: Message contains NUL characters

What I'd like is for offlineimap to continue the synch, and present me with a
list of failed messages at the end. Currently I have to run it, and wait for it
to fail each time, fixing up messages one by one.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (540, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages offlineimap depends on:
ii  python                        2.4.4-2    An interactive high-level object-o
ii  python-support                0.7.6      automated rebuilding support for p

offlineimap recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to