- ✁
- ✄
By Jonas Birmé (birme@cs.umu.se)
- ✁
- ✄
- ✁
- ✄
“SMTP is close to being the perfect application protocol: it solves a large, important problem in a minimalist way.” On the Design of Application Protocols (RFC3117) by Marshall T.Rose
- ✁
- ✄
- ✁
- ✄
- ✁
- ✄
SMTP is close to being the perfect application protocol: it solves a - - PDF document
By Jonas Birmé (birme@cs.umu.se)
“SMTP is close to being the perfect application protocol: it solves a large, important problem in a minimalist way.” On the Design of Application Protocols (RFC3117) by Marshall T.Rose
% telnet www 80 Trying 130.239.40.20... Connected to gray.cs.umu.se. Escape character is '^]'. GET / HTTP/1.1 Host: www.cs.umu.se Connection: close
✘✚✙✜✛✣✢✤✙✦✥ ✧ ★✪✩ ✙✦✥ ✛✬✫✮✭ ✯✱✰HTTP/1.1 200 OK Date: Wed, 26 Mar 2003 16:17:37 GMT Server: Apache/2.0.44 (Unix) Content-Location: index.html.en Accept-Ranges: bytes Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=ISO-8859-1 Content-Language: en <DATA>
% telnet mail.foo.se 25 Trying NNN.NNN.NNN.NNN... Connected to mail.foo.se. Escape character is '^]'. 220 mail.foo.se ESMTP Sendmail 8.12.3/8.12.3/Debian-5; Wed, 26 Mar 2003 19:21:53 +0100; (No UCE/UBE) logging access from: chomper.cs.umu.se(OK)- birme@chomper.cs.umu.se [130.239.40.37]
HELO AprilFool 250 mail.foo.se Hello birme@chomper.cs.umu.se [130.239.40.37], pleased to meet you MAIL from: ifoolu@whitehouse.gov 250 2.1.0 ifoolu@whitehouse.gov... Sender ok RCPT to: birme@jpl.se 250 2.1.5 birme@jpl.se... Recipient ok DATA 354 Enter mail, end with “.” on a line by itself From: <ifoolu@whitehouse.gov> To: birme@jpl.se
Subject: Hej hej This is a very nice message. /Me . 250 2.0.0 h2QILr8Q022855 Message accepted for delivery
A B
➔ → ➣ ↔ ↕ ↔ ➙ ➛ ➜⑩➝ ➔ → ➞ ➟ ➝ ➛ ➜⑩➝ ➔ → ➞ ➟ ➝❭➠ ➡ ➢ ➤ ➡ ➥ ➦ ➧❳➨ ➛ ➜ ➝ ➔ → ➞ ➟ ➩ ➛ ➜⑩➝ ➔ → ➞ ➟ ➩✥➠ ➡ ➢ ➤ ➡ ➥ ➦✼➫❉➭✥➨ ➔ → ➞ ➧ ➯ ➲ ➳ ➲❇➦ ➡ ➥ ➵ ➸ ➺ ➳ ➦ ➻❭➼❳➽ ➳ ➾❭➚ ➸ ➪②➪❭➦ ➳ ➵ ➽ ➥❚➶ ➦ ➸ Do you trust this host blah blah blah(Name, Value, Type, TTL)
⑧✯⑨❉⑩❋❬✭❶✶❞❑❷✶❸✣❱❳❩❭❬❫❹❚❺❀❻✼❼✷❹ ❱✷❽✯❽❳❴ ❬✷❪✦❪(home.birme.se, 213.238.230.10, A, $TTL)
⑧✯⑨❉⑩❋❬✭❶❑❸✶❾✶❷✲❿★❙❳❩■❱✽❣ ❨➀❹❚❺❧❿➁❸✶❾❫❪❦❬✭❴ ❵❋❬✽❴(birme.se, ns1.birme.se, NS, $TTL)
⑧✯⑨❉⑩❋❬✭❶❑➂❑➃❑❷✲❿✲❙✭❩■❱❳❣ ❨❫❹✼❺✙➂⑦❱✽❣ ❲✷❪❦❬❳❴ ❵✸❬❳❴(birme.se, mail.birme.se, MX, $TTL)
C S
q r s t t ✉ ✈ ✇ <start number='1' serverName='stateserver.example.com'> <profile uri='http://iana.org/beep/transient/xmlrpc' /> </start> q r s t t ✉ ✈ ✇ <profile uri='http://iana.org/beep/transient/xmlrpc' /> q r s t t ✉ ✈ ① ② ③ ④❊⑤ ⑥ ⑦ q ⑧ ⑨ ⑩ ❶ ❷ ✈ ✉