Networking Applications



Similar documents
2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

Electronic Mail

2- Electronic Mail (SMTP), File Transfer (FTP), & Remote Logging (TELNET)

CS43: Computer Networks . Kevin Webb Swarthmore College September 24, 2015

Network Services. SMTP, Internet Message Format. Johann Oberleitner SS 2006

FTP and . Computer Networks. FTP: the file transfer protocol

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP Abstract Message Format. The Client/Server model is used:

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP - Message Format. The Client/Server model is used:

CPSC Network Programming. , FTP, and NAT.

Internet Technology 2/13/2013

Remote login (Telnet):

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ MEng. Nguyễn CaoĐạt

Chapter 2 Application Layer. Lecture 5 FTP, Mail. Computer Networking: A Top Down Approach

. MIME is the protocol that was devised to allow non-ascii encoded content in an and attached files to an .

Protocolo FTP. FTP: Active Mode. FTP: Active Mode. FTP: Active Mode. FTP: the file transfer protocol. Separate control, data connections

Chapter 26 Remote Logging, Electronic Mail, 26.1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Management CSCU9B2 CSCU9B2 1

CSCI-1680 SMTP Chen Avin

Communication Systems Network Applications - Electronic Mail

Application Example: WWW. Communication in the WWW. WWW, HTML, URL and HTTP. Loading of Web Pages. The Client/Server model is used in the WWW

The Application Layer. CS158a Chris Pollett May 9, 2007.

Introduction to LAN/WAN. Application Layer (Part II)

Simple Mail Transfer Protocol

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Using over FleetBroadband

Internet Technologies Internet Protocols and Services

APPLICATION LAYER: TELNET, . By Nidhi Jindal

FTP: the file transfer protocol

Issue 2EN. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Mail system components. Electronic Mail MRA MUA MSA MAA. David Byers

SMTP (Simple Mail Transfer Protocol)

, SNMP, Securing the Web: SSL

Electronic mail security. MHS (Message Handling System)

DATA COMMUNICATOIN NETWORKING

Introduction to Computer Networks

Technical papers How works

Outlook Express POP Instructions - Bloomsburg University Students

Sending MIME Messages in LISTSERV DISTRIBUTE Jobs

. Electronic mail, or , is the most frequently used service on the Internet. Seema Sirpal Delhi University Computer Centre

Fundamentals of the Internet 2009/ Explain meaning the following networking terminologies:

Applications and Services. DNS (Domain Name System)

Domain Name System (DNS)

Collax Mail Server. Howto. This howto describes the setup of a Collax server as mail server.

IBM i. Networking . Version 7.2

Nokia E90 Communicator support

Chakchai So-In, Ph.D.

1 Introduction: Network Applications

Introduction. POP and IMAP Servers. MAC1028 June 2007

Outlook Express 6.0 Tutorial I

FTP: the file transfer protocol

Configuring your client to connect to your Exchange mailbox

Issue 1 EN. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Table of Contents Chapter 1 INTRODUCTION TO MAILENABLE SOFTWARE... 3 MailEnable Webmail Introduction MailEnable Requirements and Getting Started

MailEnable Scalability White Paper Version 1.2


Steps for: POP (Post Office Protocol) and IMAP (Internet Message Access Protocol) setup on MAC Platforms

Emacs SMTP Library. An Emacs package for sending mail via SMTP. Simon Josefsson, Alex Schroeder

Libra Esva. Whitepaper. Glossary. How Really Works. Security Virtual Appliance. May, It's So Simple...or Is It?

Integration for Open Text Fax Appliance and Open Text Fax Appliance, Premier Edition

What really is a Service?

WineWeb Account Services

Mailing System: The Intra Mail

MailEnable Web Mail End User Manual V 2.x

Webmail Using the Hush Encryption Engine

Table of Contents. Electronic mail. History of (2) History of (1) history. Basic concepts. Aka (or according to Knuth)

Before starting to use the new system you will need to know the password to your e-wire account.

Using WinGate 6 . Concepts, Features, and Configurations.

Computer Networks - CS132/EECS148 - Spring

Network Working Group. Category: Informational January Principles of Operation for the TPC.INT Subdomain: Radio Paging -- Technical Procedures

Telematics. 13th Tutorial - Application Layer Protocols

Windows Mail POP Instructions - Bloomsburg University Students

Linux Network Administration

The basic groups of components are described below. Fig X- 1 shows the relationship between components on a network.

Internet Services. Sadiq M. Sait, Ph.D

Webmail. Setting up your account

Configuring Outlook to send mail via your Exchange mailbox using an alternative address

XGENPLUS SECURITY FEATURES...

Using Avaya Aura Messaging

POP3 Connector for Exchange - Configuration

A New Approach to Enhance Performance Through SMTP Protocol

Appendix. Web Command Error Codes. Web Command Error Codes

StreamServe Persuasion SP4 Connectors

SmarterMail User Guide

1. The Web: HTTP; file transfer: FTP; remote login: Telnet; Network News: NNTP; SMTP.

SendMIME Pro Installation & Users Guide

CS 356 Lecture 27 Internet Security Protocols. Spring 2013

Transcription:

Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport Electronic Mail 1

Outline Introduction SMTP MIME Mail Access Protocols 2

Introduction from user to user (or a group of users) from user to a mailing list SMTP (Simple Mail Transfer Protocol) is the standard mechanism for email in the Internet Analogy to postal mail (envelope and message (header and body)) addresses in the form <local-part@domain-name> Local-part: address of user mailbox on local site Domain-name: destination domain name Recall MX resource record in DNS database 3

Architecture and Protocols A client-server architecture client accepts mail and delivers to email server in destination domain End-to-end delivery Store and forward mechanism Simple Mail Transfer Protocol (SMTP) TCP/IP Delivery of simple text messages (7-bit ASCII format) Multi-purpose Internet Mail Extension (MIME) An extension to SMTP Delivery of other types of data (e.g., languages not supported by 7-bit ASCII, Voice, images, or video clips) 4

Client-Server Architecture 5

User Agent and Mail Transfer Agent Actual mail transfer through MTA 6

Software that does the following User Agent (UA) Composing messages: provides a template to be filed Reading messages: When UA is invoked, it checks for mail in the incoming mail box Replying to messages Forwarding messages Handles mailboxes: Inbox, sent, and others Could be command-driven (pine or mail) or GUI-based (Eudora or Outlook) 7

Mail Transfer Phases Connection Establishment SMTP client makes a TCP connection to well-known port 25 SMTP server starts the connection phase Message Transfer Connection Termination 8

Mail Delivery From Sender to Receiver 1/3 Stage 1 goes from UA to local server (MTA client) Mail stored in local server until it can be sent (spooled) UA uses SMTP client software and local server uses SMTP server software Why not deliver email directly to remote server? Stage 2 Local MTA performs a DNS lookup to obtain the mail exchange servers for the destination domain 9

Mail Delivery From Sender to Receiver 2/3 Stage 3 Push Operation: local MTA (SMPT client) relays email to remote server (SMTP server) Why not deliver to remote UA? received by mail server and stored in the user mailbox for later retrieval Stage 4 Remote UA employs a mail access protocol to access the mailbox and obtain her/his email (pull protocols) Post Office Protocol: POP3 Internet Mail Access Protocol: IMAPv4 10

Mail Delivery From Sender to Receiver 3/3 11

Relay MTA 1/2 12

Relay MTA 2/2 The concept of an email hub 13

SMTP 14

SMTP Sequence of Events Source connects Target responds 220 Ready for mail Source sends HELO Target responds with identification Source sends from and to fields Target accepts Source sends one or more messages Target closes connection when complete 15

Mail Message Contents Each queued message has: Message text header with message envelope and list of recipients Message body, composed by user A list of mail destinations Derived by user agent from header May be listed in header May require expansion of mailing lists May need replacement of mnemonic names with mailbox names 16

Mail Sending Optimization If message destined for multiple users on a given host, it is sent only once Delivery to users handled at destination host If multiple messages ready for given host, a single TCP connection can be used Saves overhead of setting up and dropping connection 17

Possible Errors Host unreachable Host out of operation TCP connection fail during transfer Sender can re-queue mail Give up after a period Faulty destination address User error 18

Accepts arriving message SMTP Receiver Places in user mailbox or copies to outgoing queue for forwarding Receiver must: Verify local mail destinations Deal with errors Transmission Lack of disk space Sender responsible for message until receiver confirm complete transfer Indicates mail has arrived at host, not user 19

E-mail Headers Lines of text in format keyword: information keyword identifies information; information can appear in any order Essential information: To: list of recipients From: sender Cc: list of copy recipients Useful information Reply-to: different address than From: Received-by: for debugging 20

Data in Original Internet mail carried only 7-bit ASCII data Couldn t contain arbitrary binary values; e.g., executable program Can not be used for languages that are not supported by 7-bit ASCII (e.g., French, German, Chinese, and Japanese) MIME (Multipurpose Internet Mail Extensions) 21

MIME Introduction Transforms non-ascii data at sender site to ASCII data and delivers to client SMTP Server SMTP at receiving side receives ASCII data and delivers to MIME MIME at receiver transforms to original data 22

MIME: From Non-ASCII to ASCII NVT is Network Virtual terminal 23

MIME Headers 1/3 5 headers can be added to original SMTP header to define transformation parameters MIME-version: 1.0 or 1.1 Content-Type Type of data used in body of message Content-Type: <type /subtype/parameters> Text (plain), Multipart, Message, Image, Video, Audio, and Application 24

MIME Headers 2/3 5 headers can be added to original SMTP header to define transformation parameters Content-Transfer Encoding 7bit, 8bit, Binary, Base64 (6-bit blocks encoded into 8- bit ASCII characters), and Quoted-printable (Non-ASCII characters encoded as an equal sign followed by an ASCII code. ASCII is sent as is) Content-Id Identify whole message in a multiple message environment Content-Description 25

MIME Headers 3/3 Binary data into Radix-64 format A Base 64 encoding table is used to interpret 6-bit into one char 26

Mail Access Protocols POP3 IMAPv4 Web-based email 27

POP3 Client POP3 installed on recipient computer Server POP3 installed on main server User needs to download email from mailbox on the mail server UA opens a connection with server on TCP port 110 Sends user name and password User can list and retrieve messages Delete and keep mode 28

IMAP4 POP3 does not allow user to organize mail on server (user can not have different folders on server) POP3 does not allow user to partially check the contents of the mail before downloading IMAP offers the following User checks email header prior to downloading User can search contents of email for a search string before downloading User can create, delete, or rename mailboxes on mail server User can create folders for email storage 29

Web-based Mail transfer from User browser to mail server performed through HTTP Transfer of message from sending mail server to receiving mail server through SMTP Message from receiving server to recipient s browser performed through HTTP Need for Webmail software 30

Further Information RFC 821: Simple Mail Transfer Protocol, August 1982 RFC 822, ARPA Internet Text Messages, August 1982 RFC 1521: MIME Part 1, September 1993 RFC 1522: MIME-Part 2, September 1993 RFC 1939: POP3, May 1996 RFC 3501, IMAP4, March 2003 31