CIS 90 - Lesson 3 Mail Command. UNIX mail Benji sends message on Opus CIS 90 - Lesson 3 simmsben simmsmar Use. or Ctrl-D to end the.

Slides:



Advertisements
Similar presentations
How to Use Stowe School District
Advertisements

The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
s. Why use s?  send a message any time, any where and the recipient can read it at his or her convenience.  same message to several people.
Chapter 2: Application layer  2.1 Web and HTTP  2.2 FTP 2-1 Lecture 5 Application Layer.
CS 497C – Introduction to UNIX Lecture 38: - Electronic Mail Chin-Chih Chang
Exploring Microsoft Office Outlook Microsoft Outlook 2000 A Desktop Information Manager By Robert T. Grauer Maryann Barber.
Chapter 30 Electronic Mail Representation & Transfer
Esimerkki: Sähköposti. Lappeenranta University of Technology / JP, PH, AH Electronic Mail Three major components: user agents mail servers simple mail.
POP Configuration Microsoft Outlook Express 6.x.
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.
POP Configuration Microsoft Outlook What is POP? Short for Post Office Protocol, a protocol used to retrieve from a mail server. Most.
Lecturer : Ms.Trần Thị Ngọc Hoa Chapter 8 File Transfer Protocol – Simple Mail Transfer Protocol.
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 Application Layer Lecture 5 Imran Ahmed University of Management & Technology.
Backup Local Online For secure offsite storage of your , and making it available from any computer or smart phone. Backup accessed with.
Mail Services.
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.
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
© 2010 Computer Science Faculty, Kabul University ELECTRONICE MAIL CONTINUED… 6 TH LECTURE 9, May, 2010 Baseer Ahmad Baheer.
A form of communication in which electronic messages are created and transferred between two or more devices connected to a network.
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.
CIS 90 - Lesson 3 Lesson Module Status Slides - draft Flash cards – started properties – page numbers - No-stress quiz – done Web Calendar summary – done.
FTP (File Transfer Protocol) & Telnet
CPT 499 Internet Skills for Educators Electronic Mail Session Five.
Simple Mail Transfer Protocol (SMTP)
CIS 90 - Lesson 3 Lesson Module Status Slides - draft Flash cards – started No-stress quiz – done Web Calendar summary – done Web book pages - none Commands.
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.
1 Unix and the Internet Pine System and Netscape.
June 1, 1999Pine Facility1 Introduction to UNIX B. With Pine.
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)
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.
Microsoft Outlook Objective The learner will be able to perform basic tasks in Microsoft Outlook 2003.
Microsoft Office Illustrated Introductory, Second Edition Started with Outlook 2003 Getting.
Basic Features and Options Accessing  Means of communicating electronically via the Internet.  Used by individuals, businesses,
Concepts  messages are passed through the internet by using a protocol called simple mail transfer protocol.  The incoming messages are.
Introducing Microsoft Outlook Session Version 1.0 © 2011 Aptech Limited.
The Internet 8th Edition Tutorial 3 Using Web-Based Services for Communication and Collaboration.
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.
(Electronic Mail) a message sent and received electronically via telecommunication links between computers.
A STEP-BY-STEP GUIDE FOR NAVIGATING AROUND THE HOME PANE COMPOSING & SENDING MESSAGES REPLYING TO MESSAGES ATTACHING FILES DELETING MESSAGES PRINTING MESSAGES.
Do Now: Describe the steps used to access the comments tool in MS Word. ( review your notes for the answer) Ex: Step 1. Select the text or item you want.
SMTP - Simple Mail Transfer Protocol RFC 821
CITA 310 Section 6 Providing Services (Textbook Chapter 8)
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.
26.1 Electronic Mail Sending/Receiving Mail Addresses User Agent MIME Mail Transfer Agent Mail Access Protocols.
@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.
Application Layer instructors at St. Clair College in Windsor, Ontario for their slides. Special thanks to instructors at St. Clair College in Windsor,
Spring 2006 CPE : Application Layer_ 1 Special Topics in Computer Engineering Application layer: Some of these Slides are Based on Slides.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
concepts & protocols
SMTP - Simple Mail Transfer Protocol POP - Post Office Protocol
Networking Applications
SMTP By Antoinette Davis.
Services Course 9/9/2018 9:54 PM Services Course Windows Live Hotmail Participant Guide © 2008 Microsoft Corporation. All rights reserved.
CIW Lesson 7 Part A Name: _______________________________________
Social Media And Global Computing Sending
Chapter 2: Application layer
Unit – 4 Chap - 2 Mail Delivery System
Basic Features and Options
Basic Features and Options
Chapter 2 Application Layer
 Zone in name space  DNS IN THE INTERNET  Generic domains :There are fourteen generic domains, each specifying an organization type.
Presentation transcript:

CIS 90 - Lesson 3 Mail Command

UNIX mail Benji sends message on Opus CIS 90 - Lesson 3 simmsben simmsmar Use. or Ctrl-D to end the message Intended recipients The first prompt is "Subject: ", you enter the subject, then enter the message. The last prompt is "Cc: " and after you hit enter the message is sent

UNIX Mail Mary reads the message on Opus CIS 90 - Lesson 3 simmsmar The & is the mail prompt. Enter a 1 to read message 1 One message is in the header list (in tray), "N" means New, "1" is the message number

UNIX mail Rich reads same message on another computer CIS 90 - Lesson 3

UNIX Mail Mary replies to the message on Opus CIS 90 - Lesson 3 simmsmar Enter an r to "reply to all" for the last message read

UNIX Mail Benji gets the reply from Mary CIS 90 - Lesson 3 Entering just the message number or a "p" followed by the message number are equivalent. The p is the mail print command. simmsben

UNIX Mail … and Rich gets a copy of the reply as well CIS 90 - Lesson 3

CIS 90 - Lesson 3 Class Exercise UNIX mail Logon to Opus Practice sending s to your neighbors and replying. Start collecting each others usernames to use for Lab 3

CIS 90 - Lesson 3 More on Mail Command

mail command read and write modes CIS 90 - Lesson 3 Read mode: mail (to read new messages) mail –f (to read saved messages in mbox) mail –f myfile (to read saved messages in myfile) Write mode: mail simmsben mail simmsben simmsmar

mail command read mode sub commands CIS 90 - Lesson 3 You are in read mode when you invoke mail with no arguments ?print these commands p print messages ngoto and print next message e edit messages d delete messages s filesave (append) messages to file u undelete messages R reply to sender(s) r reply to all m mail to specific users q quit, saving read messages to local mbox file x quit, mark all mail as unread and undeleted. h print out active message headers A consists of integers, ranges of same, or user names separated by spaces. If omitted, Mail uses the current message A consists of user names separated by spaces.

mail command (h)header sub-command CIS 90 - Lesson 3 h (print headers – e.g. list my in tray) message numbers N = New, message is unread > points to the current message (last one printed)

mail command (p)rint sub-command CIS 90 - Lesson 3 print all messages from simmsmar

mail command (p)rint sub-command CIS 90 - Lesson 3 print message 5, note that commands can be abbreviated to a single letter

mail command (p)rint sub-command CIS 90 - Lesson 3 print messages 4 -5

mail command e(x)it sub-command CIS 90 - Lesson 3 x will quit mail. All messages revert back to their original state (unread and undeleted). When you return to mail again all the messages will still be there.

mail command (q)uit sub-command CIS 90 - Lesson 3 q will quit mail. All read messages are moved to a local file named mbox. When you return to mail again those message will not appear. If you want to read your old messages you must specify the mbox file with the –f option.

mail command Various mailbox files CIS 90 - Lesson 3 system mail box /var/mail/username (new mail arrives here and read messages are deleted on quit ) local mail box mbox (read messages go here on quit ) local mail box yourfile (messages can go here with save ) mail

CIS 90 - Lesson 3 ~]$ mail Mail version 8.1 6/6/93. Type ? for help. "/var/spool/mail/rsimms": 6 messages 6 new >N 1 Sun Jun 22 13:53 21/826 "Hot days and servers" N 2 Thu Jul 24 12:27 16/697 "Nisene Hike" N 3 Thu Jul 24 12:28 18/728 "Don't forget to bring" N 4 Thu Jul 24 12:29 17/696 "Bone lost" N 5 Thu Jul 24 12:33 20/808 "Re: Hot days and serv" N 6 Thu Jul 24 15:41 18/691 "Salsa" & p 3-4 Message 3: From Thu Jul 24 12:28: Date: Thu, 24 Jul :28: From: Mary Simms To: Subject: Don't forget to bring pen drive I need to use it again to back up some files and practice partitioning. Thanks Mary Message 4: From Thu Jul 24 12:29: Date: Thu, 24 Jul :29: From: Benji Simms To: Subject: Bone lost Did you see that old bone I was chewing? I can't find it anywhere! - Ben mail command Various mail boxes example Print 2 messages

mail command Various mail boxes example CIS 90 - Lesson 3 & s 4 bone "bone" [New file] & h N 1 Sun Jun 22 13:53 21/826 "Hot days and servers" N 2 Thu Jul 24 12:27 16/697 "Nisene Hike" 3 Thu Jul 24 12:28 18/728 "Don't forget to bring" >* 4 Thu Jul 24 12:29 17/696 "Bone lost" N 5 Thu Jul 24 12:33 20/808 "Re: Hot days and serv" N 6 Thu Jul 24 15:41 18/691 "Salsa" & q Saved 1 message in mbox Held 4 messages in /var/spool/mail/rsimms ~]$ mail Mail version 8.1 6/6/93. Type ? for help. "/var/spool/mail/rsimms": 4 messages 4 unread >U 1 Sun Jun 22 13:53 22/836 "Hot days and servers" U 2 Thu Jul 24 12:27 17/707 "Nisene Hike" U 3 Thu Jul 24 12:33 21/818 "Re: Hot days and serv" U 4 Thu Jul 24 15:41 19/701 "Salsa" & q Held 4 messages in /var/spool/mail/rsimms ~]$ mail -f mbox Mail version 8.1 6/6/93. Type ? for help. "mbox": 1 message > 1 Thu Jul 24 12:28 19/739 "Don't forget to bring" & q ~]$ mail -f bone Mail version 8.1 6/6/93. Type ? for help. "bone": 1 message 1 new > 1 Thu Jul 24 12:29 18/706 "Bone lost" & q "bone" complete ~]$ save message 4 in bone messages 3 and 4 are read. 4 is saved (*)

mail command (d)elete and (u)ndelete CIS 90 - Lesson 3

mail command Copying messages from mbox back to system mail box CIS 90 - Lesson 3

mail command Forwarding a message with ~m CIS 90 - Lesson 3 This is how you forward message 5

mail command The mail boxes are all ascii text CIS 90 - Lesson 3 /home/cis90/simmsben $ cat /var/mail/simmsben From Thu Jul 24 16:26: Return-Path: Received: from opus.cabrillo.edu (opus [ ]) by opus.cabrillo.edu (8.13.8/8.13.8) with ESMTP id m6ONQuBk for ; Thu, 24 Jul :26: Received: (from by opus.cabrillo.edu (8.13.8/8.13.8/Submit) id m6ONQuqw for simmsben; Thu, 24 Jul :26: Date: Thu, 24 Jul :26: From: Homer Miller Message-Id: To: Subject: RC4 review Meeting at 4:00 today in Big Sur room. Looks like we have 2 showstoppers and need to rebuild tonight. Homer /home/cis90/simmsben $ mail Mail version 8.1 6/6/93. Type ? for help. "/var/spool/mail/simmsben": 1 message 1 new >N 1 Thu Jul 24 16:26 18/741 "RC4 review" & 1 Message 1: From Thu Jul 24 16:26: Date: Thu, 24 Jul :26: From: Homer Miller To: Subject: RC4 review Meeting at 4:00 today in Big Sur room. Looks like we have 2 showstoppers and need to rebuild tonight. Homer

CIS 90 - Lesson 3 Class Exercise UNIX mail Send your neighbor classmates some messages Send a message to your home address Read one or more messages Save a couple of messages to a file named in2008 Forward a message to one of your classmates Send a message to yourself Delete and undelete some messages Experiment with quit and exit to see how they treat read messages differently Use mail with –f option to read mbox and in2008 mailbox files Check out your mail boxes with file and cat commands Your system message store: /var/mail/username Your archived message : mbox The file you saved messages to: in2008

CIS 90 - Lesson 3 end-to-end

end-to-end CIS 90 - Lesson 3 compose and send message open and read message

end-to-end CIS 90 - Lesson 3 compose and send message open and read message MTA Mail Transport Agent MTA Mail Transport Agent MUA Mail User Agent MUA Mail User Agent DA Delivery Agent Message Store AA Access Agent

end-to-end example Implementation CIS 90 - Lesson 3 compose and send message open and read message MTA sendmail MTA sendmail MUA /bin/mail MUA Yahoo Mail DA procmail Message Store /var/mail/rsimms AA spop SMTP Simple Mail Transport Protocol SMTP Simple Mail Transport Protocol POP Post Office Protocol

end-to-end configuring your MUA (Mail User Agent) CIS 90 - Lesson 3 MTA Mail Transport Agent DA Delivery Agent Message Store AA Access Agent This is why you get asked for the SMTP server and the POP3/IMAP server when you set up on your PC. Your MUA needs to know this to send and receive messages. SMTP Simple Mail Transport Protocol SMTP Simple Mail Transport Protocol POP Post Office Protocol MTA Mail Transport Agent Example MUA: Windows Mail (on Vista)

CIS 90 - Lesson 3 Wrap up

CIS Lesson 3 New commands: mail- UNIX mail ?print these commands p print messages ngoto and print next message e edit messages d delete messages s filesave (append) messages to file u undelete messages R reply to sender(s) r reply to all m mail to specific users q quit, saving read messages to local mbox file x quit, mark all mail as unread and undeleted. h print out active message headers mesg- Enable or disable writes to your terminal write- Write message to another user New Files and Directories: /var/spool/mail- Message store for mail /var/spool/mail/username- Incoming mailbox for username mbox- File in users home directory where read messages are archived to