McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

35
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

Transcript of McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

Page 1: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Chapter 22

Simple MailTransfer Protocol

(SMTP)

Page 2: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CONTENTSCONTENTS• USER AGENT (UA)• ADDRESSES• DELAYED DELIVERY• ALIASES• MAIL TRANSFER AGENT (MTA)• COMMANDS AND RESPONSES• MAIL TRANSFER PHASES• MIME• MAIL DELIVERY • MAIL ACCESS PROTOCOLS

Page 3: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-1

SMTP concept

Page 4: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-2

UAs and MTAs

Page 5: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-3

Relay MTAs

Page 6: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-4

Mail gateway

Page 7: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

USERAGENT

(UA)

22.122.1

Page 8: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-5

Format

Page 9: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

ADDRESSES

22.222.2

Page 10: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-6

Address

Page 11: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

DELAYEDDELIVERY

22.322.3

Page 12: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-7

Sender-sitedelay

Page 13: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-8

Receiver-sitedelay

Page 14: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

ALIASES

22.422.4

Page 15: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-9

Alias expansion

Page 16: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-10

One-to-many expansion

Page 17: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-11

Many-to-oneexpansion

Page 18: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MAILTRANSFER

AGENT

22.522.5

Page 19: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-12

Email system

Page 20: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

COMMANDSAND

RESPONSES

22.622.6

Page 21: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-13

Commands and responses

Page 22: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-14

Command format

Page 23: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MAILTRANSFER

PHASES

22.722.7

Page 24: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-15

Connection establishment

Page 25: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-16

Message transfer

Page 26: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-17

Connection termination

Page 27: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MULTIPURPOSEINTERNET

MAIL EXTENSIONS(MIME)

22.822.8

Page 28: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-18

MIME

Page 29: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-19

MIME header

Page 30: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-20

Base64

Page 31: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-21

Quoted-printable

Page 32: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MAILDELIVERY

22.922.9

Page 33: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-22

Email delivery

Page 34: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MAIL ACCESSPROTOCOLS

22.1022.10

Page 35: McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 22 Simple Mail Transfer Protocol (SMTP)

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 22-22

POP3