Using Configuring Sendmail - Quiz Explanation

The correct answers are indicated below, along with the text that explains the correct answers.
1. What is masquerading?
Please select the best answer.
  A. The ability to refer to email users by simple nicknames
  B. The ability to relay or forward mail from one system to another
  C. The ability for a sendmail daemon to rewrite a subdomain’s email address
  D. The ability for sendmail to alert you concerning system events
  The correct answer is C. When masquerading is used, the sendmail daemon rewrites an email address of a subdomain host to make it appear as if the message were sent from the domain.

2. What is the purpose of the M4 macros?
Please select the best answer.
  A. To generate sendmail.cf files
  B. To list the location of the spooling directory
  C. To list names used by the local host
  D. To describe the location of the aliases file
  The correct answer is A. You can edit sendmail.cf files directly or use M4. Older sendmail configurations do not have the 4 utility, so you will have to either upgrade sendmail or obtain M4 independently.

  What is the primary configuration file for sendmail?
Please select the best answer.
  A. sendmail.cw
  B. maillog
  C. sendmail.cf
  D. /usr/sbin/sendmail
  The correct answer is C. Recent versions of sendmail allow you to use a macro to configure the sendmail daemon.

4. You want to configure your sendmail daemon to use more simple email names than their login and machine names. What is the name for the ability to use a different email name than the UNIX login name?
Please select the best answer.
  A. Masquerading
  B. Aliasing
  C. Forwarding
  D. Spoofing
  The correct answer is B. In many instances, you will have problems using the UNIX login name, especially for people with similar names or identical names. Therefore, aliasing, using the /etc/aliases file, is a viable solution.

5. What is the well-known port number for the Simple Mail Transport Protocol (SMTP)?
Please select the best answer.
  A. 28
  B. 32
  C. 31
  D. 25
  The correct answer is D. This stipulation is outlined in RFC 821.

6. What does the MX field in an MX record denote?
Please select the best answer.
  A. An entire domain
  B. A mail exchange host
  C. A subdomain host
  D. The recipient’s server
  The correct answer is B. If you are using DNS, you must have an MX record for your server and/or your domain to allow your domain to receive email messages.

7. What is the purpose of the sendmail –C option?
Please select the best answer.
  A. To run sendmail in debugging mode
  B. To run sendmail in verify mode
  C. To have sendmail capture all output in a text file
  D. To use an alternative configuration file
  The correct answer is D. The –d option runs sendmail in debugging mode. The –v option runs sendmail in verify mode, which causes sendmail to execute without actually sending messages. The –X option has sendmail capture all output in a text file.