2

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?

Oskar K.
  • 167

1 Answers1

2

No. It can have at least three variants (see page 14):

     (1) connection without pre-authentication (OK greeting)
     (2) pre-authenticated connection (PREAUTH greeting)
     (3) rejected connection (BYE greeting)
Sven
  • 100,763