TCP IP Illustrated

220 noaoedu sendmail 41sag noaog89 ready at mon 19

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: when this flag is specified. Lines beginning with >>> are commands sent by the SMTP client, and lines beginning with a 3-digit reply code are from the SMTP server. Here is the interactive session: sun % mail -v To: Subject : testing 1, 2, 3. . Sending letter ... invoke our user agent this is output by user agent we're then prompted for a subject user agent adds one blank line between headers and body this is what we type as the body of the message we type a period on a line by itself to say we're done verbose output from user agent following is output by MTA (Sendmail) Connecting to mailhost via ether... Trying connected. 220 Sendmail 4.1/SAG-Noao.G89 ready at Mon, 19 Jul 93 12:47:34 MST >>> HELO 250 Hello, pleased to meet you >>> MAIL From: <> 250 <>... Sender ok >>> RCPT To:<> file:///D|/Documents%20and%20Settings/bigini/Docu...homenet2run/tcpip/tcp-ip-illustrated/smtp_sim.htm (2 of 23) [12/09/2001 14.47.52] Chapter 28. SMTP: Simple Mail Transfer Protocol 250 <>... Recipient ok >>> DATA 354 Enter mail, end with "." on a line by itself >>> . 250 Mail accepted >>> QUIT 221 delivering mail Sent this is output by user agent sent. Only five SMTP commands are used to send the mail: HELO, MAIL, RCPT, DATA, and QUIT. We type mail to invoke our user agent. We're then prompted for a subject, and after typing that, we type the body of the message. Typing a period on a line by itself completes the message and the user agent passes the mail to the MTA for delivery. The client does the active open to TCP port 25. When this returns, the client waits for a greeting message (reply code 220) from the server. This server's response must start with the fully qualified domain name of the server's host: in this example. (Normally the text that follows t...
View Full Document

Ask a homework question - tutors are online