Presentation is loading. Please wait.

Presentation is loading. Please wait.

HANNAM UNIVERSITY 1 Chapter 22 Simple Mail Transfer Protocol (SMTP)

Similar presentations


Presentation on theme: "HANNAM UNIVERSITY 1 Chapter 22 Simple Mail Transfer Protocol (SMTP)"— Presentation transcript:

1 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 1 Chapter 22 Simple Mail Transfer Protocol (SMTP)

2 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 2 CONTENTS USER AGENT (UA) ADDRESSES DELAYED DELIVERY ALIASES MAIL TRANSFER AGENT (MTA) COMMANDS AND RESPONSES MAIL TRANSFER PHASES MIME MAIL DELIVERY MAIL ACCESS PROTOCOLS

3 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 3 SMTP 개념

4 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 4 UA 와 MTA

5 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 5 중계 MTA

6 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 6 전자우편 게이트웨이

7 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 7 USER AGENT (UA) 22.1

8 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 8 22.1 사용자 에이전트  전자우편 송신  봉투  송신자 주소, 수신자 주소  메시지  헤더 : 송신자, 수신자, 메시지 제목  몸체 : 실제정보  전자우편 수신  주기적으로 편지함 검사 및 통보  메시지 출력  CMP 메시지

9 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 9 22.1 사용자 에이전트

10 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 10 ADDRESSES 22.2

11 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 11 22.2 주소  전자우편 주소

12 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 12 DELAYED DELIVERY 22.3

13 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 13 22.3 지연배달  송신측 지연  메시지 생성후 스풀로 이동  주기적으로 스풀에 저장된 메시지 검사  타임아웃 발생시 송신자에게 배달

14 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 14 22.3 지연배달  송신측 지연

15 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 15 22.3 지연배달  수신측 지연  메시지 수신후 편지함으로 이동  중간지연  중계 MTA 들이 전자우편을 수신하고 편지함과 스풀 에 저장하며 적절한 때에 전송

16 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 16 22.3 지연배달  수신측 지연

17 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 17 ALIASES 22.4

18 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 18 22.4 별칭  별칭확장

19 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 19 22.4 별칭  일대다 확장

20 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 20 22.4 별칭  다대일 확장

21 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 21 MAIL TRANSFER AGENT 22.5

22 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 22 22.5 전자우편 전송 에이전트  전체 전자우편 시스템

23 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 23 COMMANDS AND RESPONSES 22.6

24 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 24 22.6 명령과 응답  명령과 응답

25 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 25 22.6 명령과 응답  명령어 형식  키워드 뒤에 따라오는 0 이상의 인수  필수 명령  HELO, MAIL, RCPT, DATA, QUIT  권장 항목  RSET, VRFY, NOOP  그 외  TURN, EXPN, HELP, SEND, SMOL, SMAL

26 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 26 22.6 명령과 응답 KeywordArgument(s) HELO Sender ’ s host name MAIL Sender of the message RCPT Intended recipient of the message DATA Body f the mail QUIT RSET VRFY Name of recipient to be verified NOOP TURN EXPN Mailing list to be expanded HELP Command namd SEND Intended recipient of the message SMOL Intended recipient of the message SMAL Intended recipient of the message

27 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 27 22.6 명령과 응답  명령  HELLO : 클라이언트가 자신이 누구인지 알림 HELLO : challenger.atc.fhda.edu  MAIL FROM : 송신자를 알림 MAIL FROM : forouzan@challenger.atc.fhda.edu  RCPT TO : 수신자를 알림 RCPT TO : betsy@mcgraw-hill.com  DATA : 실제 메시지 송신 DATA This is the message To be sent to the McGraw-Hill Company  QUIT 메시지 종료 QUIT

28 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 28 22.6 명령과 응답  응답  2yz ( 긍정적 완료 응답 )  성공적인 완료와 새로운 명령 시작을 의미  3yz ( 긍적적 중간 응답 )  요청된 명령은 수행되었으나 수신자가 수행하기 전에 추가정보 필요  4yz ( 임시 부정적 완료 응답 )  요청된 명령이 거절되었으나, 오류 조건이 임시적임을 의미한다. 그 명령은 재 전송  5yz ( 영구 부정적 완료 응답 )  요청된 명령이 거절되었고, 재전송 될 수 없다

29 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 29 22.6 명령과 응답 CodeDescription Positive Completion Reply 211System status or help reply 214Help message 220Service ready 221Service closing transmission channel 250Request command completed 251User not local the message will be forwarded Positive Intermediate Reply 354Start mail input Transient Negative Completion Reply 421Service not available 450Mailbox not available

30 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 30 22.6 명령과 응답 451 Command aborted: local error 452 Command aborted; insufficient storage Permanent Negative Completion Reply 500 Syntax error; unrecognized command 501 Syntax error in parameters or arguments 502 Command not implemented 503 Bad sequence of commands 504 Command temporarily not implemented 550 Command is not executed; mailbox unavailable 551 User not local 552 Requested action aborted; esceeded storage location 553 Requested action not taken; mailbox name not allowed 554 Transaction failed

31 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 31 MAIL TRANSFER PHASES 22.7

32 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 32 22.7 전자우편 전송 단계  연결 수립

33 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 33 22.7 전자우편 전송 단계  메시지 전송

34 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 34 22.7 전자우편 전송 단계  연결종료

35 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 35 MULTIPURPOSE INTERNET MAIL EXTENSIONS (MIME) 22.8

36 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 36 22.8 MIME  MIME  SMTP 의 확장  ASC Ⅱ가 아닌 데이터를 NVT ASC Ⅱ로 변환

37 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 37 22.8 MIME  MIME 헤더

38 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 38 22.8 MIME  MIME-Version  사용된 MIME 의 버전을 규정 MIME-Version : 1.1  Content-Type  메시지의 몸체에서 사용되는 데이터의 종류 규정 content-Type :

39 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 39 22.8 MIME  MIME 데이터 유형과 서브유형 TypeSubtypeDescription TextPlain Unformatted text Multi- Part Mixed Body contains ordered parts of different data types Parallel Same as above, but no order Digest Similar to Mixed, but the default is message/RFC822 Alternative Parts are different versions of the same message Messag e RFC822 Body is an encapsulated message Partial Body is a fragment of a bigger message External- Body Body is a reference to another message

40 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 40 22.8 MIME TypeSubtypeDescription Image JPEGImage is in JPEG format GIFImage is in GIF format VideoMPEGVideo is in MPEG format AudioBasicSingle channel encoding of voice at 8 KHz Applica- tion PostScriptAdobe PostScript Octet-streamGeneral binary data(eight-bit bytes)

41 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 41 22.8 MIME  Content-Transfer-Encoding  메시지를 0 과 1 로 인코딩하는 방법 정의 Content-Transfer-encoding : TypeDescription 7bit NVT ASC Ⅱ characters and short lines 8bit Non-ASC Ⅱ characters and short lines Binary Non-ASC Ⅱ characters with unlimited-length lines Base64 Six-bit blocks of data are encoded into eight- bit ASC Ⅱ characters Quoted- printable Non-ASC Ⅱ characters are encoded as an equal sign followed by an ASC Ⅱ code

42 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 42 22.8 MIME  Base 64

43 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 43 22.8 MIME  Quoted-printable

44 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 44 MAIL DELIVERY 22.9

45 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 45 22.9 전자우편 배달  Email delivery

46 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 46 22.9 전자우편 배달  Email delivery  첫 번째 단계  사용자 에이전트에서 로컬 서버로 이동  SMTP Client/SMTP Server Software  두 번째 단계  로컬 서버에서 원격 서버로 이동  세 번째 단계  원격 사용자 에이전트는 편지함을 액세스하고 전자우편을 받기 위해 POP3 와 IMAP4 사용

47 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 47 MAIL ACCESS PROTOCOLS 22.10

48 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 48 22.10 전자우편 접근 프로토콜  Email Access Protocol  메인서버 편지함에서 수신자에게 가져오는 Pull Protocol  POP3(Post Office Protocol 버전 3)  Server/client protocol  IMAP4(Internet Mail Access Protocol 버전 4)  POP3 에 비해 추가적인 기능 제공

49 HANNAM UNIVERSITY Http://netwk.hannam.ac.kr 49 22.10 전자우편 접근 프로토콜  POP3


Download ppt "HANNAM UNIVERSITY 1 Chapter 22 Simple Mail Transfer Protocol (SMTP)"

Similar presentations


Ads by Google