Re: Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2021-07-17 Thread Oswald Buddenhagen
On Sat, Jul 17, 2021 at 09:56:55PM +0100, Sabahattin Gucukoglu via isync-devel wrote: Anyway the problem goes away and literal payloads all have the right sizes, and sync completes successfully, if I write a little wrapper script that just adds a CAPABILITY request immediately after login. wo

Workaround iCloud IMAP Bug (add CAPABILITY request post-login)

2021-07-17 Thread Sabahattin Gucukoglu via isync-devel
God knows why, but iCloud IMAP (imaps://imap.mail.me.com:993) bodges responses (even lines within literals) so that every occurrence of CAPABILITY is immediately followed by XAPPLEPUSHSERVICE, and STARTTLS preceded by a space character is discarded. I can only assume it’s some side-effect of try

Re: IMAP error: unexpected tag BAD

2021-07-17 Thread Oswald Buddenhagen
On Fri, Jul 16, 2021 at 10:47:29PM +0100, John Hamelink wrote: I've attached the log with sensitive data redacted. F: >>> 9 APPEND "Archive" "22-Mar-2021 06:57:01 +" {681452} F: + Ready for additional command text. F: BAD Command Error. 10 IMAP error: unexpected tag BAD as expected, that