Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

TEST.proto.IMAPSSL

From COCNM
Jump to navigation Jump to search

The stuff in bold is what you have to do. The rest is output you should see

Notes

  • This will test that a user can log in, list his inbox, and list other inboxes

Sample IMAP over SSL Session

  • openssl s_client -crlf -connect 192.168.26.10:993
  • <snip> Lots of Certificate Information </snip>
  • ---
  • OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Computerisms IMAP server
  • a login bob.miller XXXXXXXX
  • a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in
  • b select inbox
  • FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
  • OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
  • 20 EXISTS
  • 0 RECENT
  • OK [UNSEEN 1] First unseen.
  • OK [UIDVALIDITY 1375224571] UIDs valid
  • OK [UIDNEXT 21] Predicted next UID
  • OK [NOMODSEQ] No permanent modsequences
  • b OK [READ-WRITE] Select completed (0.002 secs).
  • c list "" *
  • LIST (\HasNoChildren \Archive) "." Archive
  • LIST (\HasNoChildren \Drafts) "." Drafts
  • LIST (\HasNoChildren \Junk) "." Junk
  • LIST (\HasNoChildren \Junk) "." LearnAsSpam
  • LIST (\HasNoChildren \Sent) "." Sent
  • LIST (\HasNoChildren \Trash) "." Trash
  • LIST (\HasNoChildren) "." INBOX
  • c OK List completed.
  • a logout
  • BYE Logging out
  • a OK Logout completed.
  • closed