The header of the message lines end are <CR><LF> (at least in XMail Maildir folders. It breaks header lines sequence immediately after the first line in Courier-Imap. Attached fix changes fetch function to prevent such misbehavior.
Created attachment 11469 [details, diff] patch fetch.c in courier-imap for correct handling cr/lf in message headers I think no additional comments required.
Created attachment 11578 [details, diff] patch for Courier-imap to make it possible to point it to XMail's maildir directories (CR/LF adjustment). I am sorry, the patch I uploaded was not the last working version. Thanks to Peter Lindeman <peter@lindeman.nl> and Makis Marmaridis <makis@marmaridis.org> for pointing me to this mistake. Sergey
I am sorry, but it appears that proposed patch works only for linux clients (Mozilla -mail, sylpeed...). Windows clients experience the same problems with patch as without. Sergey Ivanov
From what you note, this is obsolete/invalid. Is this correct so I can close the bug?
Yes, please, close this as a bug. Sergey
Closed on response from user.
closing bugs again.