OK, I think I found what the problem is. It is the do-while loop here https://gitorious.org/community-ssu/...der.c#line5979 This is how the (start of the) response looks like: Code: * 181 FETCH (UID 293 MODSEQ (382264) BODY[] {199644}\nDelivered-To: ivo.g.dimitrov.75@gmail.com\nReceived:... https://gitorious.org/community-ssu/...der.c#line6005 breaks if there is enclosing (")") bracket in the message, which we have in "MODSEQ (382264)" just before the "BODY" part, so it exits the loop before parsing the message. I think there are more places to fix that, will do (hopefully later today)
* 181 FETCH (UID 293 MODSEQ (382264) BODY[] {199644}\nDelivered-To: ivo.g.dimitrov.75@gmail.com\nReceived:...