![Page 1: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/1.jpg)
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 – done• Lab – Jim's
![Page 2: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/2.jpg)
CIS 90 - Lesson 3
Quiz
Please close your books, turn off your monitor, take out a blank piece of paper and answer the following questions:
• How do you show your path?
•Name four directories where one can find commands?
• What is the command to print the manual page for a command?
![Page 3: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/3.jpg)
CIS 90 - Lesson 3
Objectives Agenda
• Learn how to use the UNIX communication tools write and mail.
• Overview on end-to-end email.
• Quiz
• Questions from last week
• Write • Basic Mail • More on Mail • End-to-end email
• Other MUAs, MTAs, DA and AAs
• Wrap up
= hands on exercise for topic
Electronic Mail
![Page 4: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/4.jpg)
CIS 90 - Lesson 3
Previous material and assignment
1. Questions on Labs or previous material?
2. Lab 2 due today• submit as many times as you wish up to midnight
![Page 5: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/5.jpg)
CIS 90 - Lesson 3
Lab 1
1) [Part 1] What is the prompt string on Opus? xxxx/home/cis90/guest $
2) [Part 1] What does the history command do? xshows previous commands
3) [Part 1] What is your user id number when you are on Opus? xxx503
4) [Part 1] What is the name of the shell you are using on Opus? xxxxxbash
5) [Part 1] What terminal device did you use to access Opus? xxx/dev/pts/2 (this varies)
6) [Part 2] What is the name of the local computer? xxxxxxxxlocalhost.localdomain (this varies)
7) What command shows you the other users that are logged in? who
8) What command shows you the name of the computer? xxxxxxxxxhostname
9) [Part 2] What three keys must be pressed locally to use terminal tty2? xxctrl+alt+f2
10) [Part 2] If you log off one one session, do you get logged off all the other sessions? xno
11) [Part 2] Is your command history the same for all login sessions? xxxxno
12) What command logs you off? exit
![Page 6: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/6.jpg)
CIS 90 - Lesson 3
Housekeeping
![Page 7: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/7.jpg)
CIS 90 - Lesson 3
[root@opus run]# ./john shadowLoaded 69 password hashes with 69 different salts (FreeBSD MD5 [32/32])(minvirob)(cafielar)(thrascat)(roneyric)(lemusosc)(mohanchi)(lyonsrob)(jessuwes)(bellhil)(ybarrser)(gardnnic)(meyerjas)(farramar)(perezave)(ruizdav)(stanlcha)(elliokat)(gantden)(luisjus)(childtim)(weavepat)(sinopjam)(blackwil)(scalenoa)(simmsric) abc123(simmsben) bones
![Page 8: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/8.jpg)
CIS 90 - Lesson 3
• Code names / grades page• TBA – last signature(s)• Opus accounts• Forum – Next week is 1st 5
post deadline
![Page 9: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/9.jpg)
CIS 90 - Lesson 3
WriteCommand
![Page 10: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/10.jpg)
write commandsend a message to another user
CIS 90 - Lesson 3
write username [ttyname]
• Use ttyname if there are multiple logins by same username
• The receiver gets:
Message from yourname@yourhost on yourtty at hh:mm …
• Each line you type gets sent to the other user.
• To end sending messages type Ctrl-D (Ctrl and D keys at the same time)
• The receiver will see an EOF (end of file) at the end.
• If the receiver wants to reply then they need to use write command as well.
![Page 11: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/11.jpg)
write commandsend a message to another user
CIS 90 - Lesson 3
Ctrl-D
Note, the pts/4 is not needed if there is only one login by the username the message is being sent to
![Page 12: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/12.jpg)
write commandBeji chats with Mary using write commands
CIS 90 - Lesson 3
simmsben
simmsmar
1133
5 (a convention, "o" used for over)5 (a convention, "o" used for over)
881010
12121313
15151717
1818
1919 (Ctrl-D) 21(Ctrl-D) 21
22
4466
7799
11111414
1616 (Ctrl-D) 17(Ctrl-D) 17
20202222
Use Ctrl-D to stop writing. Ctrl-D is EOF (End of File) and is slightly more friendly than Ctrl-C
![Page 13: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/13.jpg)
mesg commandenable or disable writes to your terminal
CIS 90 - Lesson 3
simmsben
simmsmar
Use n to disable or y to enable
![Page 14: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/14.jpg)
CIS 90 - Lesson 3
Class Exercisewrite and mesg
• Logon to Opus
• Practice writing messages to your neighbors.
• Use mesg command to enable and disable.
• Start collecting each others usernames to use for Lab 3
![Page 15: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/15.jpg)
CIS 90 - Lesson 3
MailCommand
![Page 16: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/16.jpg)
UNIX mailBenji sends message on Opus
CIS 90 - Lesson 3
simmsben
[email protected] 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
![Page 17: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/17.jpg)
UNIX MailMary 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
![Page 19: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/19.jpg)
UNIX MailMary replies to the message on Opus
CIS 90 - Lesson 3
simmsmar
Enter an r to "reply to all" for the last message read
![Page 20: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/20.jpg)
UNIX MailBenji 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
![Page 22: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/22.jpg)
CIS 90 - Lesson 3
Class ExerciseUNIX mail
• Logon to Opus
• Practice sending emails to your neighbors and replying.
• Start collecting each others usernames to use for Lab 3
![Page 23: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/23.jpg)
CIS 90 - Lesson 3
More on Mail
Command
![Page 24: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/24.jpg)
mail commandread 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 [email protected]
![Page 25: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/25.jpg)
mail commandread mode sub commands
CIS 90 - Lesson 3
You are in read mode when you invoke mail with no arguments•? print these commands•p <message list> print messages•n goto and print next message•e <message list> edit messages•d <message list> delete messages•s <message list> file save (append) messages to file•u <message list> undelete messages•R <message list> reply to sender(s)•r <message list> reply to all•m <user list> 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 <message list> consists of integers, ranges of same, or user names separatedby spaces. If omitted, Mail uses the current message
A <user list> consists of user names separated by spaces.
![Page 26: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/26.jpg)
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)
![Page 27: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/27.jpg)
mail command(p)rint sub-command
CIS 90 - Lesson 3
print all messages from simmsmar
![Page 28: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/28.jpg)
mail command(p)rint sub-command
CIS 90 - Lesson 3
print message 5, note that commands can be abbreviated to a single letter
![Page 29: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/29.jpg)
mail command(p)rint sub-command
CIS 90 - Lesson 3
print messages 4 -5
![Page 30: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/30.jpg)
mail commande(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.
![Page 31: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/31.jpg)
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.
![Page 32: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/32.jpg)
mail commandVarious 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 boxmbox
(read messages go here on quit)
local mail boxyourfile
(messages can go here with save)
![Page 33: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/33.jpg)
CIS 90 - Lesson 3
[rsimms@opus ~]$ mailMail version 8.1 6/6/93. Type ? for help."/var/spool/mail/rsimms": 6 messages 6 new>N 1 [email protected] Sun Jun 22 13:53 21/826 "Hot days and servers" N 2 [email protected] Thu Jul 24 12:27 16/697 "Nisene Hike" N 3 [email protected] Thu Jul 24 12:28 18/728 "Don't forget to bring" N 4 [email protected] Thu Jul 24 12:29 17/696 "Bone lost" N 5 [email protected] Thu Jul 24 12:33 20/808 "Re: Hot days and serv" N 6 [email protected] Thu Jul 24 15:41 18/691 "Salsa"& p 3-4Message 3:From [email protected] Thu Jul 24 12:28:38 2008Date: Thu, 24 Jul 2008 12:28:38 -0700From: Mary Simms <[email protected]>To: [email protected]: Don't forget to bring pen drive
I need to use it again to back up some files and practice partitioning.ThanksMary
Message 4:From [email protected] Thu Jul 24 12:29:27 2008Date: Thu, 24 Jul 2008 12:29:27 -0700From: Benji Simms <[email protected]>To: [email protected]: Bone lost
Did you see that old bone I was chewing? I can't find it anywhere!- Ben
mail commandVarious mail boxes example
Print 2 messages
![Page 34: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/34.jpg)
mail commandVarious mail boxes example
CIS 90 - Lesson 3
& s 4 bone"bone" [New file]& h N 1 [email protected] Sun Jun 22 13:53 21/826 "Hot days and servers" N 2 [email protected] Thu Jul 24 12:27 16/697 "Nisene Hike" 3 [email protected] Thu Jul 24 12:28 18/728 "Don't forget to bring">* 4 [email protected] Thu Jul 24 12:29 17/696 "Bone lost" N 5 [email protected] Thu Jul 24 12:33 20/808 "Re: Hot days and serv" N 6 [email protected] Thu Jul 24 15:41 18/691 "Salsa"& qSaved 1 message in mboxHeld 4 messages in /var/spool/mail/rsimms[rsimms@opus ~]$ mailMail version 8.1 6/6/93. Type ? for help."/var/spool/mail/rsimms": 4 messages 4 unread>U 1 [email protected] Sun Jun 22 13:53 22/836 "Hot days and servers" U 2 [email protected] Thu Jul 24 12:27 17/707 "Nisene Hike" U 3 [email protected] Thu Jul 24 12:33 21/818 "Re: Hot days and serv" U 4 [email protected] Thu Jul 24 15:41 19/701 "Salsa"& qHeld 4 messages in /var/spool/mail/rsimms[rsimms@opus ~]$ mail -f mboxMail version 8.1 6/6/93. Type ? for help."mbox": 1 message> 1 [email protected] Thu Jul 24 12:28 19/739 "Don't forget to bring"& q[rsimms@opus ~]$ mail -f boneMail version 8.1 6/6/93. Type ? for help."bone": 1 message 1 new> 1 [email protected] Thu Jul 24 12:29 18/706 "Bone lost"& q"bone" complete[rsimms@opus ~]$
save message 4 in bone
messages 3 and 4 are read. 4 is saved (*)
![Page 35: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/35.jpg)
mail command(d)elete and (u)ndelete
CIS 90 - Lesson 3
![Page 36: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/36.jpg)
mail commandCopying messages from mbox back to system mail box
CIS 90 - Lesson 3
![Page 37: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/37.jpg)
mail commandForwarding a message with ~m
CIS 90 - Lesson 3
This is how you forward message 5
![Page 38: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/38.jpg)
mail commandThe mail boxes are all ascii text
CIS 90 - Lesson 3
/home/cis90/simmsben $ cat /var/mail/simmsbenFrom [email protected] Thu Jul 24 16:26:56 2008Return-Path: <[email protected]>Received: from opus.cabrillo.edu (opus [127.0.0.1]) by opus.cabrillo.edu (8.13.8/8.13.8) with ESMTP id m6ONQuBk016775 for <[email protected]>; Thu, 24 Jul 2008 16:26:56 -0700Received: (from millehom@localhost) by opus.cabrillo.edu (8.13.8/8.13.8/Submit) id m6ONQuqw016774 for simmsben; Thu, 24 Jul 2008 16:26:56 -0700Date: Thu, 24 Jul 2008 16:26:56 -0700From: Homer Miller <[email protected]>Message-Id: <[email protected]>To: [email protected]: 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 $ mailMail version 8.1 6/6/93. Type ? for help."/var/spool/mail/simmsben": 1 message 1 new>N 1 [email protected] Thu Jul 24 16:26 18/741 "RC4 review"& 1Message 1:From [email protected] Thu Jul 24 16:26:56 2008Date: Thu, 24 Jul 2008 16:26:56 -0700From: Homer Miller <[email protected]>To: [email protected]: RC4 review
Meeting at 4:00 today in Big Sur room. Looks like we have 2 showstoppers and need to rebuild tonight.
Homer
![Page 39: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/39.jpg)
CIS 90 - Lesson 3
Class ExerciseUNIX mail
• Send your neighbor classmates some messages
• Send a message to your home email 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
![Page 40: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/40.jpg)
CIS 90 - Lesson 3
end-to-endemail
![Page 41: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/41.jpg)
end-to-end email
CIS 90 - Lesson 3
compose and send message open and read message
![Page 42: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/42.jpg)
end-to-end email
CIS 90 - Lesson 3
compose and send message open and read message
MTAMail
TransportAgent
MTAMail
TransportAgent
MUAMailUser
Agent
MUAMailUser
Agent
DADeliveryAgent
MessageStore
AAAccessAgent
![Page 43: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/43.jpg)
end-to-end email: example Implementation
CIS 90 - Lesson 3
compose and send message open and read message
MTAsendmail
MTAsendmail
MUA/bin/mail
MUAYahooMail
DAprocmail
MessageStore
/var/mail/rsimms
AAspop
SMTPSimple
MailTransportProtocol
SMTPSimple
MailTransportProtocol
POPPost
OfficeProtocol
![Page 44: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/44.jpg)
end-to-end email: configuring your MUA (Mail User Agent)
CIS 90 - Lesson 3
MTAMail
TransportAgent
DADeliveryAgent
MessageStore
AAAccessAgent
This is why you get asked for the SMTP server and the POP3/IMAP server when you set up email on your PC. Your MUA needs to know this to send and receive messages.
SMTPSimple
MailTransportProtocol
SMTPSimple
MailTransportProtocol
POPPost
OfficeProtocol
MTAMail
TransportAgent
Example MUA: Windows Mail (on Vista)
![Page 45: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/45.jpg)
CIS 90 - Lesson 3
Other MUAsMTAs, DAs,
AAs
![Page 46: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/46.jpg)
end-to-end email some of the many players
CIS 90 - Lesson 3
MTA
MUA
DA
AA
sendmail, Exim, Microsoft Exchange Server, Postfix
/bin/mail, procmail, smrsh
imapd, spop
/bin/mail, pine, elm, Outlook, Eudora, Thunderbird, Evolution
![Page 47: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/47.jpg)
CIS 90 - Lesson 3
Wrap up
![Page 48: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/48.jpg)
CIS 191 - Lesson 3
New commands:mail - UNIX mail
? print these commandsp <message list> print messagesn goto and print next messagee <message list> edit messagesd <message list> delete messagess <message list> file save (append) messages to fileu <message list> undelete messagesR <message list> reply to sender(s)r <message list> reply to allm <user list> mail to specific usersq quit, saving read messages to local mbox filex quit, mark all mail as unread and undeleted.h print out active message headers
mesg - Enable or disable writes to your terminalwrite - Write message to another user
New Files and Directories:/var/mail - Message store for mail/var/mail/username - Incoming mailbox for usernamembox - File in users home directory where read messages
are archived to
![Page 49: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/49.jpg)
CIS 90 - Lesson 3
Next Class
Assignment: Check Calendar Page on web site to see what is due next week.
Quiz questions for next class:
•What command can you use to "chat" with another user?
•How do you forward a message with /bin/mail?
•With /bin/mail, where do all messages that have been read go after the quit command?
![Page 50: 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](https://reader035.vdocuments.site/reader035/viewer/2022062322/56649e795503460f94b794ef/html5/thumbnails/50.jpg)
CIS 90 - Lesson 3
Backup