Hi Function imap_envelope_parse return incorrect result for addresses with groups due to error in imap_address_arg_append because of with ", " is added after group name and before first mailbox.
Patch for dovecot v2.1 in attach.
imap-envelope.patch
Description: imap-envelope.patch