Open main menu

CDOT Wiki β

Changes

OPS335 Lab 4

2 bytes removed, 18:36, 10 February 2016
no edit summary
#Use the '''host''' and '''hostname''' commands to confirm that each of your machines has the same ''hostname'' and that the DNS service verifies this to be true.
#Restart your MTA (postfix) server if you changed the hostname on either mail server.
#Try sending mail to yourself on both machines. For example, as the username <senecaID> on VM 3, use the command:<br>$ mail <senecaID>@vm2.<yourdomain>.org<br><br>'''NOTE:''' the machine will prompt for a subject: enter "testing" without the quotes.<br><br>
#Enter the body of your e-mail message. When you have completed entering your email message, enter a period (.) in column 1 on the last line of your letter. This will send the signal: '''end-of-file''' and your letter will be mailed. You should end up back at the shell prompt. If you make a mistake, use '''CTRL-C''' to cancel the email (DO <u>NOT</u> USE CTRL-Z).
#Use the '''mailq''' command on both machines (you will need to be root) to view the mail queue. Why would this command be useful for an administrator?
13,420
edits