メインコンテンツまでスキップ

付録 F: シナリオ (その 2)

送信とメール送付のシナリオ​

まずユーザー名を検証し、次にユーザーの端末への送信を試みる。それが失敗すると、メッセージはユーザーのメールボックスに送付される。

-------------------------------------------------------------

R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready
S: HELO MIT-MC.ARPA
R: 250 SU-SCORE.ARPA

S: VRFY Crispin
R: 250 Mark Crispin <[email protected]>

S: SEND FROM:<[email protected]>
R: 250 OK

S: RCPT TO:<[email protected]>
R: 450 User not active now

S: RSET
R: 250 OK

S: MAIL FROM:<[email protected]>
R: 250 OK

S: RCPT TO:<[email protected]>
R: 250 OK

S: DATA
R: 354 Start mail input; end with <CRLF>.<CRLF>
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK

S: QUIT
R: 221 SU-SCORE.ARPA Service closing transmission channel

Scenario 5

-------------------------------------------------------------

前のシナリオを、より効率的に行う例。

-------------------------------------------------------------

R: 220 SU-SCORE.ARPA Simple Mail Transfer Service Ready
S: HELO MIT-MC.ARPA
R: 250 SU-SCORE.ARPA

S: VRFY Crispin
R: 250 Mark Crispin <[email protected]>

S: SOML FROM:<[email protected]>
R: 250 OK

S: RCPT TO:<[email protected]>
R: 250 User not active now, so will do mail.

S: DATA
R: 354 Start mail input; end with <CRLF>.<CRLF>
S: Blah blah blah...
S: ...etc. etc. etc.
S: .
R: 250 OK

S: QUIT
R: 221 SU-SCORE.ARPA Service closing transmission channel

Scenario 6

-------------------------------------------------------------

メーリングリストのシナリオ​

まず、二つのメーリングリストをそれぞれ、異なるホストとの別々のセッションで展開する。次に、いずれかのリストに現れたすべての人 (ただし重複なし) に、中継ホストを経由してメッセージを送る。

-------------------------------------------------------------

   Step 1  --  Expanding the First List

      R: 220 MIT-AI.ARPA Simple Mail Transfer Service Ready
      S: HELO SU-SCORE.ARPA
      R: 250 MIT-AI.ARPA

      S: EXPN Example-People
      R: 250-<[email protected]>
      R: 250-Fred Fonebone <[email protected]>
      R: 250-Xenon Y. Zither <[email protected]>
      R: 250-Quincy Smith <@USC-ISIF.ARPA:[email protected]>
      R: 250-<[email protected]>
      R: 250 <[email protected]>

      S: QUIT
      R: 221 MIT-AI.ARPA Service closing transmission channel

   Step 2  --  Expanding the Second List

      R: 220 MIT-MC.ARPA Simple Mail Transfer Service Ready
      S: HELO SU-SCORE.ARPA
      R: 250 MIT-MC.ARPA

      S: EXPN Interested-Parties
      R: 250-Al Calico <[email protected]>
      R: 250-<[email protected]>
      R: 250-Quincy Smith <@USC-ISIF.ARPA:[email protected]>
      R: 250-<[email protected]>
      R: 250 <[email protected]>

      S: QUIT
      R: 221 MIT-MC.ARPA Service closing transmission channel

   Step 3  --  Mailing to All via a Relay Host

      R: 220 USC-ISIE.ARPA Simple Mail Transfer Service Ready
      S: HELO SU-SCORE.ARPA
      R: 250 USC-ISIE.ARPA

      S: MAIL FROM:<[email protected]>
      R: 250 OK
      S: RCPT TO:<@USC-ISIE.ARPA:[email protected]>
      R: 250 OK
      S: RCPT TO:<@USC-ISIE.ARPA:[email protected]>
      R: 250 OK
      S: RCPT TO:<@USC-ISIE.ARPA:[email protected]>
      R: 250 OK
      S: RCPT
          TO:<@USC-ISIE.ARPA,@USC-ISIF.ARPA:[email protected]>
      R: 250 OK
      S: RCPT TO:<@USC-ISIE.ARPA:[email protected]>
      R: 250 OK
      S: RCPT TO:<@USC-ISIE.ARPA:[email protected]>
      R: 250 OK
      S: RCPT TO:<@USC-ISIE.ARPA:[email protected]>
      R: 250 OK

      S: DATA
      R: 354 Start mail input; end with <CRLF>.<CRLF>
      S: Blah blah blah...
      S: ...etc. etc. etc.
      S: .
      R: 250 OK

      S: QUIT
      R: 221 USC-ISIE.ARPA Service closing transmission channel

                         Scenario 7

-------------------------------------------------------------