I'm trying to understand the specification of IMAP found at
INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1 (RFC3501)
Does the greeting from a server always have the following format?
* OK something doesn't matter what
That is, does it start with * OK
always and has the * and one whitespace in the beginning?
No. It can have at least three variants (see page 14):