These two changes allow fdm to save messages to iCloud via IMAP.
The first (9bce005) appears to address a bug in fdm itself. A message is to be terminated by a CRLF-pair, which must be accounted for by subtracting both the CR and LF from the message length. Only subtracting one character works fine with Dovecot, probably due to its forgiving nature, but iCloud's IMAP implementation is not as benign.
The second (14c04ba) mirrors those recently made in imap-common.c (17852bb), in that it deals with the fact that iCloud's IMAP implementation has never even heard of string continuations when it comes to mailbox names.
Hi.
These two changes allow fdm to save messages to iCloud via IMAP.
The first (9bce005) appears to address a bug in fdm itself. A message is to be terminated by a CRLF-pair, which must be accounted for by subtracting both the CR and LF from the message length. Only subtracting one character works fine with Dovecot, probably due to its forgiving nature, but iCloud's IMAP implementation is not as benign.
The second (14c04ba) mirrors those recently made in imap-common.c (17852bb), in that it deals with the fact that iCloud's IMAP implementation has never even heard of string continuations when it comes to mailbox names.
Kind regards, Willemijn Coene