Installing and Administering Internet Services

152 Chapter 4
Installing and Administering sendmail
Troubleshooting sendmail
Troubleshooting sendmail
This section describes the following techniques for troubleshooting
sendmail:
“Keeping the Aliases Database Up to Date” on page 152
“Verifying Address Resolution and Aliasing” on page 153
“Verifying Message Delivery” on page 153
“Contacting the sendmail Daemon to Verify Connectivity” on page
154
“Setting Your Domain Name” on page 155
Attempting to Start Multiple sendmail Daemons” on page 155
“Configuring and Reading the sendmail Log” on page 156
“Printing and Reading the Mail Queue” on page 158
Almost all sendmail troubleshooting must be done as superuser.
Keeping the Aliases Database Up to Date
The aliases database must be rebuilt if changes have been made to the
aliases text file.
You must restart sendmail after you change the configuration file or the
aliases database.
Issue the following commands, on a standalone system or on the mail
server, to rebuild the aliases database and restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Updating Your NIS or NIS+ Aliases Database
If you are using NIS or NIS+ to manage your aliases database, see
Installing and Administering NFS Services.