offlineimap debugging - how can I get the Message-ID of a rejected mail?

Christian Recktenwald cre at lihas.de
Mon Jun 30 12:07:21 BST 2014


I'm trying to synchronize a cyrus and a zarafa imap server.
This does not work out as I get errors like these:

 [imap]:   44:13.83 10.1.11.31 writer > AGludmFsaWQAc2VjcmV0\r\n
Thread 'Copy message from Local-someuser at mail-zarafa:Public folders/some/folder' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/offlineimap/threadutil.py", line 158, in run
    Thread.run(self)
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/Base.py", line 358, in copymessageto
    new_uid = dstfolder.savemessage(uid, message, flags, rtime)
  File "/usr/lib/python2.7/dist-packages/offlineimap/folder/IMAP.py", line 554, in savemessage
    raise OfflineImapError(msg, OfflineImapError.ERROR.REPO)
OfflineImapError: Saving msg in folder 'INBOX.some.folder', repository 'Remote-someuser at mail-zarafa' failed (abort). Server responded: NO ['Message contains invalid header']

I thought it would help to understand what's going on if I just 
new /which/ mail is rejected, so I could track it down on the file 
system and investigate further.

Therefore I'd need some more information regarding the rejected 
email itself, like the Message-ID header.

How could I get this information?

I tried -d, -l and --info but these don't provide information 
about the email itself AKAIKS.

Offlineimap is version 6.5.5-0.1 from Debian.

-- 
LiHAS - Adrian Reyer - Hessenwiesenstraße 10 - D-70565 Stuttgart
Fon: +49 (7 11) 78 28 50 90 - Fax:  +49 (7 11) 78 28 50 91
Mail: lihas at lihas.de - Web: http://lihas.de
Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 Stuttgart




More information about the OfflineIMAP-project mailing list