Changes

Jump to: navigation, search

OPS335 Lab 4

1,134 bytes removed, 18:51, 18 February 2016
no edit summary
#Exit the mail command.
===Checking the Message Store (MS) of Received Mail Messages===
 
We will now view the Message Store where messages are sent to be retrieved from the mail program.<br>We will also show you how to save mail messages into another message store file in another directory.
 
'''Perform the following Steps:'''
 
#Create a directory in your home directory called: '''mail'''.
#Re-issue the '''mail''' command, and enter the following command at the mail prompt: '''save &nbsp; 1 &nbsp; mail/msg1'''<br>Use the cat command to check the contents of '''/var/spool/mail<yourSenecaID>''' and '''~/mail/msg1'''. Exit the mail command.
#Try sending another e-mail from your VM2 account to yourself, but using your first name instead by issuing the following command:<br>'''mail -s "Lab4a - Local - Test2" <yourFirstName>'''
#Issue the '''mailq''' command on your VM2 machine (you will need to be root) to view the mail queue. Why would this command be useful for an administrator?
#Now, issue the '''mail''' command to see if you received that e-mail message. Did it work? If so, why?<br>Record your observations in your OPS335 lab logbook.<br><br>
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''
13,420
edits

Navigation menu