メールの動作

-----------------------------------------------------------------------
SMTP動作例
-----------------------------------------------------------------------

TCP  SYN,   [1085] -> [25]

TCP  SYN ACK,   [25] -> [1085]

TCP  ACK,   [1085] -> [25]

TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 124 bytes
    Reply: 220
    Message:  ESMTP wrench.cpqtnet.co.jp Sendmail 980427.SGI.8.8.8/970903.SGI.AUTOCF ready at Mon, 25 Jun 2001 10:52:27 +0900 (JST)
     
TCP  PSH ACK,   [1085] -> [25] クライアントの指定
SMTP Section: 16 bytes
    Command: HELO
    Message: tsuenaga1

TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 75 bytes
    Reply: 250
    Message: wrench.cpqtnet.co.jp Hello tsuenag [172.20.5.10], pleased to meet you

TCP  PSH ACK,   [1085] -> [25] 送り元の指定
SMTP Section: 33 bytes
    Command: MAIL
    Message: FROM: tomo-sue@yahoo.com

TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 39 bytes
    Reply: 250
    Message: ... Sender ok
 

TCP  PSH ACK,   [1085] -> [25] 送り先の指定
SMTP Section: 38 bytes
    Command: RCPT
    Message: TO: tomo@wrench.cpqtnet.co.jp

TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 49 bytes
    Reply: 250
    Message: ... Recipient ok

TCP  PSH ACK,   [1085] -> [25] データコマンド
SMTP Section: 6 bytes
    Command: DATA

TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 50 bytes
    Reply: 354
    Message: Enter mail, end with "." on a line by itself

TCP  PSH ACK,   [1085] -> [25] データの書き込み
SMTP Section: 1295 bytes
    Message-ID: <005c01c0fd1c$3cf78560$0a0514ac@asiapacific.cpqcorp.net>
    From: "tomo" 
    To: 
    Subject: =?iso-2022-jp?B?GyRCS1xIVhsoQg==?=
    Date: Mon, 25 Jun 2001 11:12:08 +0900
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_NextPart_000_0058_01C0FD67.ACB1DBD0"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 5.50.4133.2400
    X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
SMTP Data
    0000  0D 0A 54 68 69 73 20 69  73 20 61 20 6D 75 6C 74    ..This is a mult
 
TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 44 bytes
    Reply: 250
    Message: KAA00943 Message accepted for delivery

TCP  PSH ACK,   [1085] -> [25] SMTPセッションの終了
SMTP Section: 6 bytes
    Command: QUIT

TCP  PSH ACK,   [25] -> [1085]
SMTP Section: 45 bytes
    Reply: 221
    Message: wrench.cpqtnet.co.jp closing connection

TCP  FIN ACK,   [1085] -> [25]

TCP  FIN ACK,   [25] -> [1085]


-----------------------------------------------------------------------
POP3動作例
-----------------------------------------------------------------------

TCP  SYN,   [1088] -> [110]

TCP  SYN ACK,   [110] -> [1088] 

TCP  ACK,   [1088] -> [110]

TCP  PSH ACK,   [110] -> [1088]
POP3 Section; 46 bytes
    Reply: +OK POP3 [210.237.175.90] v7.64 server ready

TCP  PSH ACK,   [1088] -> [110]
POP3 Section; 11 bytes
    Command: USER tomo; Submit username

TCP  PSH ACK,   [110] -> [1088]
POP3 Section; 41 bytes
    Reply: +OK User name accepted, password please

TCP  PSH ACK,   [1088] -> [110]
POP3 Section; 17 bytes
    Command: PASS xxxx; Submit username

TCP  PSH ACK,   [110] -> [1088]
POP3 Section; 30 bytes
    Reply: +OK Mailbox open, 2 messages