DispersedNet
SiteMap
Network Admin
Unix Admin
System Admin
Network Security
Unix Network Admin
«Prev
Next»
Unix Concepts
Domain Name Service
DNS Namespace
Top Level Domains (L3)
IP Address Name
DNS Zones
Name Servers
DNS Recursive Query
DNS Caching Only
Name Servers - Quiz
Resource Records
Zone File Generalities
Zone File Format
Resource Record Types
SOA Record
Domain Name Service
DNS Lookup
DNS Name Resolution
NSLookup Resource Records
Using NSLookup
NSLookup Command
Linux Bind
Name Server Configuration
NS File Example
DNS NSLookup Program
Configuring DNS
Configuring DNS Server
NDS Server Configuration
DNS Zone File
Preparing Zone Files
Starting name Server Process
Linux DNS Configuration
Using Sendmail
Network Information Service
Testing Sendmail Configuration - Exercise
Objective:
Test a new
sendmail
configuration before deploying it.
Exercise scoring
This exercise is not scored. When you have completed the exercise, click the
Submit
button to review the solution and continue with the course.
Instructions
In this exercise, you will use an alternative sendmail.cf file to test your
sendmail
configuration. When you are sure the new configuration file is working properly, you will update the old configuration file and start the
sendmail
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 .
Kill sendmail
kill 289
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/.
Test sendmail
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.
Submit