telnet IMAP command# E-Mail2022. 8. 31. 18:41
Table of Contents
728x90
반응형
default port(143)connect
# 접속
[darksharavim]telnet localhost 143
# 로그인
a login [mailaddress] [password]
# 메일박스 선택
b select [mailbox]
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen)] Flags permitted.
* 1 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1] UIDs valid
* OK [UIDNEXT 150] Predicted next UID
* OK [NOMODSEQ] No permanent modsequences
b OK [READ-WRITE] SELECT completed
# 메일 원문 전체 확인
c fetch 1 RFC822
* 1 FETCH (RFC822 {21678}
블라블라블라
c OK FETCH successful
# 메일 원문 일부확인
c fetch 1 (UID RFC822.SIZE FLAGS BODY[HEADER.FIELDS (FROM TO SUBJECT DATE MESSAGE-ID)])
* 1 FETCH (UID 149 RFC822.SIZE 21678 FLAGS (\Seen) BODY[HEADER.FIELDS (FROM TO SUBJECT DATE MESSAGE-ID)] {254}
Message-Id: <202210210650.29@mail.test.com>
from: <send@test.com>
TO: <recv@test.com>
Subject: test mail
Date: Fri, 21 Oct 2022 15:50:52 +0900
)
c OK FETCH successful
# 로그아웃
d logout
imap-ssl port(993) connect
[darksharavim]openssl s_client -crlf -connect imap.nate.com:993
list
a list "" "*"
* LIST (\NoInferiors) NIL "INBOX"
* LIST (\NoInferiors \UnMarked) "/" "&sLSsjMT0ulTHfNVo-"
* LIST (\NoInferiors \UnMarked) "/" "Sent Messages"
* LIST (\NoInferiors \UnMarked) "/" "Drafts"
* LIST (\NoInferiors \UnMarked) "/" "Deleted Messages"
* LIST (\NoInferiors \UnMarked) "/" "&yBXQbA- &ulTHfA-"
* LIST (\NoInferiors \UnMarked) "/" "&zK2tbMEc1Wg-"
* LIST (\NoInferiors \UnMarked) "/" "&rRGs4NVo-"
* LIST (\NoInferiors \UnMarked) "/" "SNS&1Wg-"
a OK LIST completed
List of Flags
\Seen Message has been read
\Answered Message has been answered
\Flagged Message is “flagged”for urgent/special attention
\Deleted Message is “deleted” for removal by later EXPUNGE
\Draft Message has not completed composition
\Recent Message has arrived since the previous time this mailbox was selected.
https://devsh.tistory.com/m/entry/%EC%8A%A4%ED%81%AC%EB%9E%A9-IMAP-COMMAND-%EC%A0%95%EB%A6%AC
https://busylog.net/telnet-imap-commands-note/
https://blog.andrewc.com/2013/01/connect-to-imap-server-with-telnet/
https://kyle81.tistory.com/m/10
https://www.atmail.com/blog/imap-commands/
728x90
반응형
'# E-Mail' 카테고리의 다른 글
curl이용 imap 및 pop3 접속체크 (0) | 2022.09.23 |
---|---|
curl smtp command (0) | 2022.09.23 |
pop3 연결(사용자 인증) 및 명령어 (0) | 2022.06.30 |
라운드큐브 메일 설치(postfix+dovecot) (0) | 2022.06.04 |
IMAP&POP3서버 구축(dovecot) (0) | 2022.06.04 |
@다크쉐라빔 :: 다크쉐라빔의 주절주절
안녕하세요. 이곳은 IT위주의 잡다한 정보를 올려두는 개인 블로그입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!