Unix Network Admin
Domain Name Service
Top Level Domains (L3)
IP Address Name
DNS Zones (L5)
DNS Recursive Query (L7)
DNS Caching Only
Name Servers - Quiz
Zone File Generalities
Zone File Format
Resource Record Types
nslookup Resource Records
Name Server Configuration
Configuring DNS Server
NDS Server Configuration
DNS Zone File
Preparing Zone Files
Starting name Server Process
Linux DNS Configuration
Network Information Service
Testing Sendmail Configuration - Exercise
Test a new
configuration before deploying it.
This exercise is not scored. When you have completed the exercise, click the
button to review the solution and continue with the course.
In this exercise, you will use an alternative sendmail.cf file to test your
configuration. When you are sure the new configuration file is working properly, you will update the old configuration file and start the
daemon. Start the simulation below and work through the situation presented. Enter what you think should be the solution in the textbox at the bottom of the page.
You are in the /usr/sendmail/cf/cf directory of linuxhost.corporation.com. You have created an alternative sendmail.cf file in this directory so you can test it before you actually deploy it. On this system, sendmail's PID is 289. Before you can test your alternative configuration, kill sendmail .
Type (S1)kill 289 to kill sendmail .
Issue the sendmail command with the -bd options and the correct option so sendmail will use your new configuration file. Use the full path of the configuration file: /usr/sendmail/cf/cf/.
sendmail -bd -C /usr/sendmail/cf/cf/sendmail.cf
Type (S1)sendmail -bd -C /usr/sendmail/cf/cf/sendmail.cf to test sendmail using your alternative configuration file.
The sendmail daemon is now using your alternative configuration file instead of the one in /etc/mail. Use the tail command to view the maillog file in the /var/log directory.