~$ telnet mail.mac.com 143
Trying 17.148.16.40...
Connected to mail.mac.com.
Escape character is '^]'.
* OK [CAPABILITY mmpn0694 IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT LANGUAGE IDLE XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT X-SUN-IMAP X-ANNOTATEMORE X-UNAUTHENTICATE XUM1 AUTH=PLAIN STARTTLS] Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.3-6.03 (built Jun 5 2008))
1 LOGIN xxxxxxxxx yyyyyyyyyyyyy
1 OK User logged in
2 NAMESPACE
* NAMESPACE (("" "/")) NIL NIL
2 OK Completed
3 LIST "" *
* LIST (\NoInferiors) "/" INBOX
* LIST (\HasNoChildren) "/" "Apple Mail To Do"
* LIST (\HasNoChildren) "/" test
3 OK Completed
4 status INBOX (MESSAGES UNSEEN UIDNEXT)
* STATUS INBOX (MESSAGES 2 UIDNEXT 3 UNSEEN 1)
4 OK Completed
5 search BODY "test"
5 BAD Please select a mailbox first
6 select INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk $Junk)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $NotJunk $Junk \*)]
* 2 EXISTS
* 0 RECENT
* OK [UNSEEN 2]
* OK [UIDVALIDITY 1230279002]
* OK [UIDNEXT 3]
6 OK [READ-WRITE] Completed
7 search BODY "test"
* SEARCH 1 2
7 OK Completed
8 fetch 2 full
* 2 FETCH (FLAGS ($NotJunk) INTERNALDATE "30-Dec-2008 04:47:03 -0800" RFC822.SIZE 1029 ENVELOPE ("Tue, 30 Dec 2008 21:46:57 +0900" "test dayo" (("aka" NIL "aka.cs.mail" "gmail.com")) (("aka" NIL "aka.cs.mail" "gmail.com")) (("aka" NIL "aka.cs.mail" "gmail.com")) ((NIL NIL "xxxxxxxxxxx" "me.com")) NIL NIL NIL "") BODY ("TEXT" "PLAIN" ("CHARSET" "US-ASCII" "FORMAT" "flowed") NIL NIL "7BIT" 17 2))
8 OK Completed
9 logout
* BYE LOGOUT received
9 OK Completed
Connection closed by foreign host.
~$
う、おもろい。S式だし。
0 件のコメント:
コメントを投稿