Problem

In this hands-on project, you view and send e-mail using the Sendmail e-mail daemon. 1....

In this hands-on project, you view and send e-mail using the Sendmail e-mail daemon.

1. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of secret.

2. At the command prompt, type ps –ef | grep sendmail and press Enter. Is the Sendmail daemon running?

3. Edit the /etc/aliases file with a text editor and add the following line:

admin: root

When finished, save your changes and quit the editor.

4. At the command prompt, type newaliases and press Enter to update the aliases database using the information within the /etc/aliases file.

5. At the command prompt, type mail admin user1 and press Enter to compose a new e-mail to the users admin and user1. When prompted for a subject, type Test email and press Enter. Next, type This is a test email that will be delivered using the Sendmail daemon and press Enter. Next, type . (a period) and press Enter to complete and send the e-mail.

6. At the command prompt, type mail to check your mailbox for e-mail messages. The last e-mail should have a subject line of Test e-mail. If you don’t see this message, type z to advance to the next screen of messages. Note the number of the e-mail message that has the subject line of Test e-mail and type this number at the & prompt to read your e-mail message. Type q when finished to exit the mail program.

7. At the command prompt, type telnet localhost 25 and press Enter. Can you tell that you are interacting with the Sendmail daemon?

8. Type EHLO server1.class.com and press Enter. Does your Sendmail daemon support ESMTP? Type quit and press Enter to quit the telnet session.

9. Type exit and press Enter to log out of your shell.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 13