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.IMAP

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

  • If the command $(telnet 192.168.26.10 143) works, you have a problem. correct it in dovecot.conf
  • This will test that a user can log in, list his inbox, and list other inboxes

Sample IMAP Session

  • telnet 127.0.0.1 143
  • Trying 127.0.0.1...
  • Connected to 127.0.0.1.
  • Escape character is '^]'.
    • OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS 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
  • 20 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.012 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.
  • Connection closed by foreign host.