Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ nc maildirector.example.com 143
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
0 LOGIN gitlab@example.com "PASSWORD"
0 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 BINARY MOVE NOTIFY] Logged in
1 EXAMINE "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1512810065] UIDs valid
* OK [UIDNEXT 1] Predicted next UID
1 OK [READ-ONLY] Examine completed (0.008 + 0.000 + 0.007 secs).
^C
$ nc maildirector.example.com 143
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
0 authenticate PLAIN
+
USERPASSWORDBASE64
0 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 BINARY MOVE NOTIFY] Logged in
1 EXAMINE "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $label2 $label1 $label3 $label4 $label5)
* OK [PERMANENTFLAGS ()] Read-only mailbox.
* 10 EXISTS
* 1 RECENT
* OK [UNSEEN 1] First unseen.
* OK [UIDVALIDITY 1512810065] UIDs valid
* OK [UIDNEXT 17] Predicted next UID
1 OK [READ-ONLY] Examine completed (0.001 + 0.000 secs).
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment