Email Electronic Mail



Similar documents
Networking Applications

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

CPSC Network Programming. , FTP, and NAT.

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

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

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

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

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

Internet Technology 2/13/2013

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

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

Remote login (Telnet):

CSCI-1680 SMTP Chen Avin

Management CSCU9B2 CSCU9B2 1

. Daniel Zappala. CS 460 Computer Networking Brigham Young University

, SNMP, Securing the Web: SSL

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

1 Introduction: Network Applications

FTP: the file transfer protocol

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

FTP: the file transfer protocol

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

What really is a Service?

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

DATA COMMUNICATOIN NETWORKING

Appendix. Web Command Error Codes. Web Command Error Codes

Communication Systems Network Applications - Electronic Mail

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

Using over FleetBroadband

Chapter 6 Electronic Mail Security

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

Mail agents. Introduction to Internet Mail. Message format (2) Authenticating senders

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

Internet Services. Sadiq M. Sait, Ph.D

Network Security - Secure upper layer protocols - Background. Security. Question from last lecture: What s a birthday attack? Dr.

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

How To Use Gfi Mailarchiver On A Pc Or Macbook With Gfi From A Windows 7.5 (Windows 7) On A Microsoft Mail Server On A Gfi Server On An Ipod Or Gfi.Org (

HYPER MEDIA MESSAGING

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

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

CS 356 Lecture 27 Internet Security Protocols. Spring 2013

Simple Mail Transfer Protocol

Linux Network Administration

Technical papers How works

Sending MIME Messages in LISTSERV DISTRIBUTE Jobs

Using Avaya Aura Messaging

Electronic mail security. MHS (Message Handling System)

Sonian Getting Started Guide October 2008

ONE-TOUCH MAIL V 2.3 MANUAL

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

IBM i. Networking . Version 7.2

Networking Test 4 Study Guide

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

Introduction. POP and IMAP Servers. MAC1028 June 2007

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

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

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

Internet Technologies Internet Protocols and Services

APPLICATION LAYER: TELNET, . By Nidhi Jindal

POP3 Connector for Exchange - Configuration

Getting Started Guide

StreamServe Persuasion SP4 Connectors

Outlook Express 6.0 Tutorial I

I-Fax (Internet Fax) 1: Basic Overview. 2: Benefits to the customer. Machines included:

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Configuring, Customizing, and Troubleshooting Outlook Express

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

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

Terminology. Internet Addressing System

SmarterMail User Guide

WEBROOT ARCHIVING SERVICE. Getting Started Guide North America. The best security in an unsecured world. TM

GFI Product Guide. GFI MailArchiver Archive Assistant

Configuring Your Client: Eudora 5.x

MOC 5047B: Intro to Installing & Managing Microsoft Exchange Server 2007 SP1

KIP Cloud Apps User Guide

SIP: Protocol Overview

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

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

Protocol Data Units and Encapsulation

Nokia E90 Communicator support

A New Approach to Enhance Performance Through SMTP Protocol

ichip FTP Client Theory of Operation Version 1.32

SETUP INSTRUCTIONS

Network Working Group Request for Comments: 840 April Official Protocols

Transcription:

Email Electronic Mail Electronic mail paradigm Most heavily used application on any network Electronic version of paper-based office memo Quick, low-overhead written communication Dates back to time-sharing systems, in 1960s Because e-mail is encoded in an electronic medium, new forms of interaction are possible Automatic processing - sorting, reply Can carry other content: if basic Simple Mail Transfer Protocol (SMTP), based on TCP/IP, was delivering only simple text messages, by use of Multi-purpose Internet Mail Extension (MIME) now have delivery of other types of data (voice, images, video clips, ) History: first standard: CCITT X.400 - too complex; base for OSI s MOTIS application; 04/11/2008 replaced by TCP/IP Vasile based Dadarlat standards - Computer RFC Networks 821(transmission protocol), 1 and RFC 822 (message format)

Email Architecture Components: user agents: mail readers - composing, editing, reading the mail messages (Pine, Netscape Messenger, Outlook) - outgoing & incoming messages are stored on server - message transfer agents Mail Transfer Agent, used to move mail (ex. Sendmail) Mail Delivery Agent, used to deliver mail Sendmail, POP (Post Office Protocol [RFC 1939]), IMAP (Internet Mail Access Protocol [RFC 1730]) mail servers: mailbox contains incoming messages (yet to be read) for user message queue of outgoing (to be sent) mail messages SMTP (Simple Mail Transfer Protocol): protocol between mail servers, for delivery to receiver s server client: the sending mail server, server: receiving mail server 04/11/2008 Vasile Dadarlat - Computer Networks 2

Mailbox: Electronic mailbox E-mail users have an electronic mailbox into which incoming mail is deposited; identified by an e-mail address User then accesses mail with a mail reader program Usually associated with computer account (user's account ID); one user may have different electronic mailboxes On networked multi-user computer, need to identify computer as well as mailbox : e-mail address is composed of computer name and mailbox name Mail transfer E-mail communication is really a two-part process: User composes mail with an e-mail interface program Mail transfer program delivers mail to destination Waits for mail to be placed in outgoing message queues Picks up message and determines recipient(s) Becomes client and contacts server on recipient's computer Passes message to server for delivery 04/11/2008 Vasile Dadarlat - Computer Networks 3

Mail Transfer Illustration 04/11/2008 Vasile Dadarlat - Computer Networks 4

Mail access protocols TCP/IP protocol suite includes Post Office Protocol (POP) for remote mailbox access; useful for dialup connection Can download all mail at once and read off-line Can compose mail off-line and mail in one connection Computer with mailboxes runs POP server User runs POP client on local computer POP client can access and retrieve messages from mailbox Requires authentication (password) Local computer uses SMTP for outgoing mail 04/11/2008 Vasile Dadarlat - Computer Networks 5

Mail access protocols 04/11/2008 Vasile Dadarlat - Computer Networks 6

Simple Mail Transfer Protocol (SMTP) is the standard application protocol for delivery of mail from source to destination Provides reliable delivery of messages Uses TCP well-known port 25 for message exchange between client and server Command/Response interaction: commands: ASCI text response: status code and phrase Other functions: E-mail address lookup & address verification General characteristics Three phases of transfer: handshaking, mail transfer, closure Attempts to provide reliable service No guarantee to recover lost messages No end to end acknowledgement to originator Error indication delivery not guaranteed 04/11/2008 Vasile Dadarlat - Computer Networks 7 Generally considered reliable!

SMTP Mail Flow 04/11/2008 Vasile Dadarlat - Computer Networks 8

Mail Message Contents Each queued message has in composition: Message text RFC 822 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 If Blind Carbon Copies Blind Carbon Copies (BCC) indicated, user agent needs to prepare correct message format 04/11/2008 Vasile Dadarlat - Computer Networks 9

SMTP Sender Takes message from queue Transmits to proper destination host Via SMTP transaction Over one or more TCP connections to port 25 Host may have multiple senders active Host should be able to create receivers on demand When delivery complete, sender deletes destination from list for that message When all destinations processed, message is deleted 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 04/11/2008 Vasile Dadarlat - Computer Networks 10

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 Target user changed address Redirect if possible Inform user if not delivered SMTP Protocol - Reliability Used to transfer messages from sender to receiver over TCP connection Attempts to provide reliable service No guarantee to recover lost messages No end to end acknowledgement to originator Error indication delivery not guaranteed Generally considered reliable! 04/11/2008 Vasile Dadarlat - Computer Networks 11

SMTP Receiver Accepts arriving message 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 SMTP Forwarding Mostly direct transfer from sender host to receiver host May go through intermediate machine via forwarding capability Sender can specify route 04/11/2008 Vasile Dadarlat - Computer Networks 12 Target user may have moved

Format for Text Messages RFC 882 Message viewed as having envelope and contents Envelope contains information required to transmit and deliver message Message is sequence of lines of text Uses general memo framework Header usually keyword followed by colon followed by arguments 04/11/2008 Vasile Dadarlat - Computer Networks 13

Multipurpose Internet Mail Extension (MIME) Extension to RFC 822 for message format; given in RFC 2045, 2056 Additional lines in message header declare MIME content type Five new message header fields MIME version Content type Content transfer encoding Content Description Content Id 04/11/2008 Vasile Dadarlat - Computer Networks 14

Message Format: Multimedia Extensions MIME version method used to encode data encoded data From: xyz@myserver.edu To: abc@mailserver.iitb.edu Subject: Picture. MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: image/jpeg base64 encoded data.........base64 encoded data. 04/11/2008 Vasile Dadarlat - Computer Networks 15

Extends and automates encoding mechanisms - Multipart Internet Mail Extensions Allows inclusion of separate components - programs, pictures, audio clips - in a single mail message (see next table) Sending program identifies the components, so receiving program can automatically extract and inform mail recipient Separator line gives information about specific encoding MIME is extensible - sender and receiver agree on encoding scheme MIME is compatible with existing mail systems Everything encoded as ASCII Headers and separators ignored by non-mime mail systems MIME encapsulates binary data in ASCII mail envelope 04/11/2008 Vasile Dadarlat - Computer Networks 16

04/11/2008 Vasile Dadarlat - Computer Networks 17

MIME Transfer Encodings Reliable delivery across wide largest range of environments Content transfer encoding field takes on six values (see next table): Three of them (7bit, 8bit, binary): no encoding done Provide some info about nature of data SMTP transfer uses 7bit form Quoted-printable Data contains largely printable ASCII characters Non-printing characters represented by hex code Base64 (Radix-64 Encoding) Maps arbitrary binary input (6 bits) onto printable output 8 bit characters X-token Named nonstandard encoding 04/11/2008 Vasile Dadarlat - Computer Networks 18

MIME Transfer Encodings Base64 encoding scheme 04/11/2008 Vasile Dadarlat - Computer Networks 19