1 / 34

웹 / 이메일

웹 / 이메일. Table of Contents. 웹 역사 브라우저 서버 HTTP, URL, HTML 이메일 MUA, MDA, MTA IMAP, POP, SMTP 메일링리스트 /Aliasing. Web. 웹의 역사 웹 브라우저 웹 서버 HTTP, URL, HTML. 웹의 역사. Tim Berners Lee  www (Enquire), HTTP,HTML,URL base Mark Anderson ->Mosaic Spyglass-Mosaic

yehudi
Download Presentation

웹 / 이메일

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 웹/이메일

  2. Table of Contents • 웹 • 역사 • 브라우저 • 서버 • HTTP, URL, HTML • 이메일 • MUA, MDA, MTA • IMAP, POP, SMTP • 메일링리스트/Aliasing

  3. Web • 웹의 역사 • 웹 브라우저 • 웹 서버 • HTTP, URL, HTML

  4. 웹의 역사 • Tim Berners Lee  www (Enquire), HTTP,HTML,URL base • Mark Anderson ->Mosaic • Spyglass-Mosaic • Spyglass사가 Microsoft에 인수되어 IE 탄생

  5. Web Browser • 웹 서버에서 쌍방향 통신하는 HTML 문서나 파일과 연동하고 출력하는 응용 소프트웨어를 일컫는다. • IE, Chrome, Firefox, Safari, 등등등 • HTML 문서 등을 웹 표준에 따라 해석하여 사용자에게 보여준다.

  6. Web Server • 아파치, IIS, nginx, GWS, lighttpd등등 • Client로부터 HTTP요청을 받고 HTML문서 등의 콘텐츠에 따라 HTTP에 반응하는 프로그램, 또는 그런 프로그램을 제공하는 컴퓨터 • 포트 번호: 80

  7. HTTP • HyperText Transfer Protocol • 웹 상에서 정보를 주고 받을 때 쓰이는 규약 • 80번 포트 사용 • TCP/UDP 사용

  8. URL • Uniform Resource Locator • 접근가능한 자원들의 주소를 형식에 맞춰서 적음. • 프로토콜+도메인 이름(또는 IP주소)+디렉토리 • Ex) http://sparcs.org/seminar

  9. HTML • HyperText Markup Language • 브라우저에서 텍스트나 이미지를 어떻게 보여 주는지를 묘사하는 문서(언어) • Strict, Transitional, Frameset로 나뉨

  10. Email • MUA, MDA, MTA • IMAP, POP3, SMPT • Mailing List

  11. MTA • Mail Transfer Agent • 전자우편을 송수신하는 역할을 한다. • Microsoft Exchange Serer, sendmail, postfix, exim등등이 있다

  12. MUA • Mail User Agent • 유저가 메일을 읽고 쓸 때 사용하는 프로그램 • Dovecot, Mutt 등이 있다. • POP3, IMAP4, MIME, 등등을 각자의 용도대로 사용

  13. MDA • Mail Delivery Agent • 메일 서버에 도착한 메일을 사용자에게 전달한다. • Outlook, Mail.app등등이 여기 해당한다.

  14. Protocols • 메일을 보낼 때도 지켜지는 프로토콜이 있다! • IMAP, POP, SMTP 등이 있다

  15. IMAP • Internet Message Access Protocol • 요청을 받으면 그때그때 메일을 보낸다. • 서버가 클라이언트에게 메일 목록을 보내고, 그 중에서 클라이언트가 선택한 메일을 그때그때 보낸다. • 스팸메일 등의 유저가 원하지 않는 메일은 로컬에 저장되지 않는다. • 통신서버와의 트래픽이 높다. • 온라인으로 동기화가 잘 된다는 가정을 기반으로 이루어질 때가 많다.

  16. POP3 • Post Office Protocol 3 • 원격 서버에서 이메일을 받아서 한꺼번에 메일 박스로 넣는다. • 오프라인 상태에서도 읽을 수 있음 • 메일을 받은 후 유저가 “분류” 할 수 있기 때문에 스팸메일도 로컬에 저장된다.

  17. SMTP • Simple Mail Transfer Protocol • 보내는 자의 서버에서 받는 자의 서버로 메일을 전달한다.

  18. 메일링리스트/Aliasing • 메일 계정의 별칭을 설정; 한 이름으로 메일을 받을 수 있음 • $ vi /etc/aliases • # newaliases • [local_alias_name]: [users],[external users] • Ex) wseminar: veritas, verity, veryberry@example.com • Include를이용! • Ex) wseminar: include:/home/veritas/alias /SPARCS/mail/aliases.d/[name]

  19. Forwarding • [ID]@sparcs.org로 온 메일을 다른 곳으로 보내주는 역할 • $ vi ~/.forward • 메일을 여러 개 추가하고 싶으면? • 그냥 여러 줄에 쓰면 된대요

  20. Postfix, Exim, Sendmail

  21. Postfix • IBM Secure Mailer(VMailer)  1998. Postfix • 빠름, 쉬운 관리, 보안성, Sendmail과 호환 • Ubuntu default MTA • Postfix 2.10.1 • http://www.postfix.org

  22. Postfix 설치 • # apt-get install postfix • -> Internet site • # dpkg-reconfigure postfix • # postfix [status/start/stop] • # vi /etc/postfix/main.cf • # postconf –e [설정]

  23. Postfix 실습 • 메일 보내기 (apt-get install telnet) • $ telnet localhost 25EhlolocalhostMail from:Rcpt to:DataSubject:<내용>.quit

  24. Exim • Experimental Internet Mailer • 1995년 Cambridge 대학에서 첫 Exim 탄생 • Debian에 기본적으로 설치 • GNU GPL Licence로 자유롭게 이용 가능 • General, Flexible MTA • sendmail위치에 설치할 수 있으나 설정은 다름 • Exim 4.80.1 (http://www.exim.org/)

  25. Exim 설치 • # apt-get install exim4 exim4-base exim4-config • 추가 기능은 맞는 패키지 설치 • http://packages.debian.org/search?keywords=exim4 • # dpkg-reconfigure exim4-config • # vi /etc/exim4/update-exim4.conf.conf • 편집 후 # update-exim4.conf • /var/lib/exim4/config.autogenerated에 저장 • Dynamic하게 만들어지므로 수정 X

  26. 간단한 명령 • $ exim -bV: 제대로 돌아가는지 확인 • $ exim–bt [username/remote address] • # /etc/init.d/exim4 [start/stop/restart] • /var/mail/[ID]: 기본적으로 메일 받는 곳 • /var/log/exim4: log가 쌓이는 곳

  27. 실습 • $ exim –v [domain]from:to:subject:[data]^D • 제게 메일 하나씩 보내 주세용

  28. Sendmail • UNIX 기반에서 SMTP를 구현한 보편적인 소프트웨어 • 1980년대 초 UC Berkeley에서 제작 • sendmail의 상용버전이 Sendmail • 설정이 복잡하고 다루기 어려움 • 메시지를 즉시 전달하거나 queue에 저장 • Sendmail8Sendmail XMeTA1 • http://www.sendmail.com/sm/open_source/

  29. Sendmail설치 • #apt-get install sendmail • $ vi /etc/mail/sendmail.cf • http://cafe.naver.com/netack.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=151& • # /etc/init.d/sendmail [start/stop/restart] • # chkconfig –level 2345 sendmail on(부팅시 실행)

  30. localhost외의 host 설정을 위해서는 • # vi /etc/hosts • # vi /etc/mail/local-hosts-name • 수신 허락 및 차단을 위해서는 • # vi /etc/mail/access [Domain][RELAY/REJECT]

  31. 실습 • Postfix와 비슷한 방법으로 보냄 • 설정이 postfix에서 sendmail로 바뀐 걸 확인하세요~

  32. 끝~~~

  33. Works Cited • SPARCS Seminars • 2011 Wheel Seminar 13. 웹, 이메일– sunguard • 2011 Wheel Seminar 14. postfix, exim, sendmail - podo • 2012 Wheel Seminar 12. Web - yasik • 2012 Wheel Seminar 13. postfix, exim, sendmail - yumgyun • Wikipedia

More Related