1 Web Server Administration Chapter 8 Providing E-mail Services.

Slides:



Advertisements
Similar presentations
Providing Services Chapter 8 Providing Services.
Advertisements

INTRANET MAIL SERVER (DESIGN OF SMTP and POP3)
1 Electronic Mail u Three major components: u user agents u mail servers u simple mail transfer protocol: SMTP u User Agent u a.k.a. “mail reader” u composing,
Lesson 7: Business, , & Personal Information Management
How Clients and Servers Work Together. Objectives Web Server Protocols Examine how server and client software work Use FTP to transfer files Initiate.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
CPSC 441: FTP & SMTP1 Application Layer: FTP & Instructor: Carey Williamson Office: ICT Class.
Exchange server Mail system Four components Mail user agent (MUA) to read and compose mail Mail transport agent (MTA) route messages Delivery agent.
Electronic Mail and SMTP
Understanding and Building Basic Networks Chapter 3 The Other Internet.
Esimerkki: Sähköposti. Lappeenranta University of Technology / JP, PH, AH Electronic Mail Three major components: user agents mail servers simple mail.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
2440: 141 Web Site Administration Services Instructor: Enoch E. Damson.
Architecture of SMTP, POP, IMAP, MIME.
Introduction 1 Lecture 7 Application Layer (FTP, ) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
-I CS-3505 Wb_ -I.ppt. 4 The most useful feature of the internet 4 Lots of different programs, but most of them can talk to each.
» Explain the way that electronic mail ( ) works » Configure an client » Identify message components » Create and send messages.
Introduction 1-1 Chapter 2 FTP & Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 IC322 Fall.
2: Application Layer1 Chapter 2 Application Layer These slides derived from Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross.
1 Linux Networking and Security Chapter 3. 2 Configuring Client Services Configure DNS name resolution Configure dial-up network access using PPP Understand.
SMTP, POP3, IMAP.
1 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
1 Web Server Administration Chapter 9 Extending the Web Environment.
Mail Services.
CSE401N: Computer Networks Lecture-5 Electronic Mail S. M. Hasibul Haque Lecturer Dept. of CSE, BUET.
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
Intro to Computer Networks Bob Bradley The University of Tennessee at Martin.
Review: –How do we address “a network end-point”? –What services are provided by the Internet? –What is the network logical topology observed by a network.
Application Layer Protocols Simple Mail Transfer Protocol.
The Linux Operating System Lecture 7: Tonga Institute of Higher Education.
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
SMTP PROTOCOL CONFIGURATION AND MANAGEMENT Chapter 8.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 7 The Application Layer.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Webmail. Agenda Why use webmail? Why use webmail? What is webmail What is webmail – basic » system MDA MDA MTA MTA MUA MUA »Protocol SMTP SMTP.
CPT 499 Internet Skills for Educators Electronic Mail Session Five.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Simple Mail Transfer Protocol (SMTP)
1 Using Messages sent from machine to machine and stored for later reading. You will use a client to read –Type mail or pine in UNIX to read.
(or ?) Short for Electronic Mail The transmission of messages over networks.
The Internet 8th Edition Tutorial 2 Basic Communication on the Internet: .
What is and How Does it Work?  Electronic mail ( ) is the most popular use of the Internet. It is a fast and inexpensive way of sending messages.
File Transfer Protocol (FTP)
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Two Installing and Configuring Exchange Server 2003.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 26 (Data Communication and Networking): Remote Logging, Electronic Mail, and.
1 Electronic Messaging Module - Electronic Messaging ♦ Overview Electronic messaging helps you exchange messages with other computer users anywhere in.
1 SMTP - Simple Mail Transfer Protocol –RFC 821 POP - Post Office Protocol –RFC 1939 Also: –RFC 822 Standard for the Format of ARPA Internet Text.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
CS 3830 Day 9 Introduction 1-1. Announcements r Quiz #2 this Friday r Demo prog1 and prog2 together starting this Wednesday 2: Application Layer 2.
  is a system of electronic communication that allows the user to exchange messages over the internet  Everyone’s address is unique  Two.
A Quick Look At How Works Understanding the basics of how works can make life a lot easier for any user. Especially those who are interested.
4343 X2 – Outline The Domain Name System The Web.
SMTP - Simple Mail Transfer Protocol RFC 821
CITA 310 Section 6 Providing Services (Textbook Chapter 8)
1 Web Server Administration Chapter 8 Providing Services.
Slides based on Carey Williamson’s: FTP & SMTP1 File Transfer Protocol (FTP) r FTP client contacts FTP server at port 21, specifying TCP as transport protocol.
Linux Operations and Administration Chapter Twelve Configuring a Mail Server.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter One Introduction to Exchange Server 2003.
COMP 431 Internet Services & Protocols
VIRTUAL SERVERS Chapter 7. 2 OVERVIEW Exchange Server 2003 virtual servers Virtual servers in a clustering environment Creating additional virtual servers.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Spring 2006 CPE : Application Layer_ 1 Special Topics in Computer Engineering Application layer: Some of these Slides are Based on Slides.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
SMTP - Simple Mail Transfer Protocol POP - Post Office Protocol
Networking Applications
Chapter 2: Application layer
Unit – 4 Chap - 2 Mail Delivery System
Chapter 7 Network Applications
Chapter 2 Application Layer
Presentation transcript:

1 Web Server Administration Chapter 8 Providing Services

2 Overview Understand the environment Understand protocols Install and administer Microsoft Exchange 2000 Install and administer sendmail for Linux

3 Overview Install and configure IMAP4 and POP3 servers for Linux Configure clients Understand Web-based clients

4 Understanding the Environment evolved from a variety of proprietary systems In the 1980s and 1990s, people often had e- mail addresses on a number of systems Even as late as 1997, Exchange 5.5 was not designed to take advantage of Internet An add-on gave Exchange the ability to send and receive over the Internet

5 Exchange 2000 Goes Beyond Basics Instant messaging Unified messaging platform Single inbox for , voic , fax Chat service URL addressing Use a single URL to access stored data Audio and video conferencing

6 Role of DNS in Systems A domain name, such as technowidgets.com, needs to be associated with two IP addresses One IP address can be for a Web site Another IP address is for To associate a domain name, or any other host name, with the IP address of an server, you need an MX record technowidgets.com. IN MX 10 mail.technowidgets.com. The 10 refers to the priority of the server if there are multiple servers

7 System Terminology MTA (Mail Transfer Agent) Accepts from clients and sends to another MTA for storage Exchange 2000, sendmail MUA (Mail User Agent) client Outlook, KMail MDA (Mail Delivery Agent) Delivers from server to MUA Exchange 2000, imap-2001

8 System Terminology Masquerading Replace actual host name with domain name Relaying The process of sending to an intermediate server before the message is transmitted to its final destination This should not be allowed from the Internet because spammers could use it to send Spammer Someone who sends unsolicited , typically to try to sell something

9 Protocols SMTP (Simple Mail Transfer Protocol) To send messages POP3 (Post Office Protocol) To retrieve Typically, all messages are downloaded to a client IMAP4 (Internet Mail Access Protocol) To retrieve stays on the server You can create folders on server to store

10 Understanding SMTP The commands are processed by the SMTP server CommandPurpose HELO Identifies the domain sending the message DATA Indicates the body of the message VRFY Verifies the user QUIT Ends the SMTP session

11 Understanding SMTP The SMTP headers add descriptive information HeaderDescription MAIL FROM: Identifies who is sending the message (required) RCPT TO: Identifies the recipient of the message (required) RECEIVED: Identifies the server that processed the message DATE: Indicates the date of the FROM: Shows the address as it is typically displayed in an client SUBJECT: Shows the subject of the message TO: Shows the recipient as it is typically displayed in an client CC: Sends copies of the message to a list of addresses BCC: Sends copies of the message to a list of addresses but does not display the addresses

12 Understanding SMTP Sample session Commands and headers in bold HELO WKS1 250 web1.technowidgets.com Hello [ ] MAIL FROM: OK RCPT TO: DATA 354 Start mail input; end with. This is a simple message. QUIT

13 Understanding POP3 More simplistic than IMAP4 First step is to log on with user name and password List, read, download, delete

14 Common POP3 commands CommandDescription USER username Connects to POP3 server based on user name PASS password Enters the password for the user, as in PASS: Ax6yy LIST Displays the message number followed by the number of characters in the message UIDL Displays the unique ID for each message RETR n Replaces the n with a message number to retrieve that message TOP n lines Instead of retrieving the whole message, retrieves the number of lines designated by the lines parameter for message number n DELE n Deletes message number n from the server QUIT Ends the session

15 Sample POP3 Session- Major Components USER cbranco +OK PASS pass +OK User successfully logged on. LIST +OK RETR 1 +OK Received: from WKS1 ( ) by web1.technowidgets.com From: Return-Path: This is a sample message. DELE 1 +OK QUIT

16 Understanding IMAP4 Messages remain on server Requires much more space on server To keep track of the status of messages, flags are used \Recent \Seen \Answered \Flagged \Deleted \Draft

17 Common IMAP4 commands CommandDescription LOGIN username password Log on to the server with your user name and password, which are unencrypted. SELECT mailbox Select a mailbox before you perform mail tasks. The default mailbox is called inbox. The response gives a summary of mailbox information. FETCH message(s) item(s) Retrieve messages. The message(s) parameter gives the message number. The item(s) parameter determines what part of the message is fetched—that is, individual header items or the body of the text. STORE message(s) flags Change the flags associated with a message. Typically, this command is used to mark messages to be deleted, undeleted, or identified as unread. LOGOUT End the IMAP4 session.

18 Installing Microsoft Exchange 2000 SMTP is part of IIS, not Exchange, and needs to be installed NNTP (Network News Transport Protocol) needs to be installed before Exchange and is also part of IIS Active Directory is required for Exchange Once the above are installed, the Exchange wizard guides you through a simple installation To use Exchange 2000 on Windows Server 2003, Exchange 2000 Service Pack 3 is required

19 Administering Exchange 2000 Message Delivery Defaults

20 Administering Exchange Users When you add a user, you have the option to create a mailbox By default, the e- mail name is the same as the user name but you can change it

21 Exchange 2000 Delivery Restrictions You can restrict the size of messages being sent and received The names of senders can be restricted too

22 Installing and Configuring Sendmail for Linux Installed from an rpm file Configure sendmail through a macro processor called m4 m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf There are many advanced features of sendmail that make configuring it substantially difficult There are other servers, such as qmail, that are easier

23 Minimal sendmail.mc File divert(-1) include(`/usr/share/sendmail-cf/m4/cf.m4') OSTYPE(`linux') define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl MAILER(smtp)dnl MAILER(procmail)dnl Cwtechnowidgets.com Notice that the strings are enclosed with a backtick and an apostrophe as in `linux'

24 Installing and Configuring IMAP4 and POP3 for Linux Both IMAP4 and POP3 are included in the imap-2001 package Once installed, you have to enable the daemons by either editing their configuration files such as /etc/xinetd.d/imap or using chkconfig chkconfig imap on Then you restart xinetd to recognize the changes service xinetd restart

25 Configuring Clients- Typical Information Required SMTP server IP address Your address Your password POP3 or IMAP4 server IP address

26 Web-based Clients Web-based clients allow you to use your browser Exchange 2000 can be configured for Web-based using Outlook Web Access Public sites, such as Microsoft's Hotmail and Yahoo! Mail, have been very popular

27 Web-based Clients- Advantages Because a browser is used, no client configuration is needed The lack of configuration can significantly reduce support costs No specialized client software is needed Users are not required to retrieve from specific computers that have been configured for them POP3 or IMAP4 protocols are not required, which reduces server-side support Because Web-based is not constrained by POP3 or IMAP4 protocols, a richer environment can be developed that extends beyond basic

28 Summary has evolved over the years Microsoft Exchange 2000 and sendmail are the two of the most popular server products DNS plays a central role in messaging Three major protocols are involved in e- mail SMTP, POP3, and IMAP4