During sync from gmail to icloud for some messages I get the following error (after three retries):
[error] Net::IMAP::NoResponseError: Message contains invalid header (giving up)
In these messages the header starts with a "From " field (without the colon, not the "From:" field!). These messages are from an old client that falsely inserted this field (see rfc5322 for the specs). The error message above is generated by the icloud server and passed through via Net::IMAP (APPEND) to Larch.
Is there a way to filter out this field during the sync? Either in Larch or Net::IMAP?
Kind regards,
Ronald