[root@]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT Q
UOTA IDLE STARTTLS] Courier-IMAP ready. xxxxxx
distribution information.
LOGOUT
* BYE Courier-IMAP server shutting down
LOGOUT OK LOGOUT completed
Connection closed by foreign host.