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

Eygene Ryabinkin rea at
Wed Jul 2 16:11:55 BST 2014

Wed, Jul 02, 2014 at 02:44:59PM +0200, Christian Recktenwald wrote:
> On Tue, Jul 01, 2014 at 07:56:59AM +0400, Eygene Ryabinkin wrote:
> > can try to download current "next" from
> >
> got that, resulted in:
> 	 ERROR: Saving msg ([unknown message-id]) in folder ...
> So I added some more information (Date, From, To, see attached patch) and got
> 	 ERROR: Saving msg (Message-ID=[unknown] Date=[unknown] From=[unknown] To=[unknown]) in folder ...
> So, it looks like this is operating on an empty (?!) mail message.

The patch from
should either give you the file name of the message inside your
Maildir (I suppose you're using this type of local storage) or
we will understand that the message comes from some deep void.

Please, give it a shot.


More information about the OfflineIMAP-project mailing list