Aller au contenu principal

Annexe F : scénarios (partie 2)

Scénarios d'envoi et de remise en boîte​

Le nom de l'utilisateur est d'abord vérifié, puis une tentative d'envoi vers le terminal de l'utilisateur est effectuée. Lorsque celle-ci échoue, le message est remis dans la boîte aux lettres de l'utilisateur.

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

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

Scénario 5

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

Le scénario précédent réalisé de manière plus efficace.

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

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

Scénario 6

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

Scénario de liste de diffusion​

D'abord, chacune des deux listes de diffusion est développée lors de sessions distinctes avec des hôtes différents. Ensuite, le message est envoyé, via un hôte relais, à toutes les personnes figurant sur l'une ou l'autre liste (mais sans doublons).

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

   Étape 1  --  Expansion de la première liste

      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

   Étape 2  --  Expansion de la seconde liste

      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

   Étape 3  --  Envoi à tous via un hôte relais

      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

                         Scénario 7

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