Changes

Jump to: navigation, search

OPS335 Lab 4

36 bytes added, 12:43, 13 February 2016
no edit summary
#Make certain you are in your '''vm2''' machine.
#Issue the following command to install the '''mailx''' application (MUA):<br>'''yum install mailx'''<br><br>
#Refer '''NOTE:''' You can refer to the link below to acquaint yourself on how to send e-mail messages using '''mailx''' application:<br> [http://www.simplehelp.net/2008/12/01/how-to-send-email-from-the-linux-command-line/ Mail Send Command Examples]
===Testing mail with the internet===
#Send an email message locally (i.e. only within) your VM2 machine by issuing the command:<br>'''mail -s "Lab4a - Local - Test1" <yourSenecaID>'''
#After you type in the body of the mail message, move to an empty line, type period "." and press the ENTER key to send the message.
#Issue the following command to read the mail message you send to yourself:<br>'''mail'''<br><br>'''NOTE: Refer ''' You can refer to the link below to view a reference chart on how to read and delete received e-mail messages at the mail command prompt:<br>[http://www.johnkerl.org/doc/mail-how-to.html#prompt_commands Commands to View and Manage Received e-mail Mesages]<br><br>
#If you received an e-mail message, the message and subject line should appear as a listing in your mail command. If you did not receive a mail message, check your mail server settings, check to see if you mail server is running and also check '''/var/log/messages'''.
#Type the mail message number that is displayed in your e-mail message list in the prompt and press ENTER. You should be able to confirm the message body that you sent.
#Exit the mail program by typing the letter '''q''' and press ENTER.
#Re-issue the mail command. What happened? If the mail message that you read no longer shows is displayed, what would be the reason for this? <br>Record your answer in your OPS335 lab log-book.
13,420
edits

Navigation menu