Installing and Administering Internet Services

Contents
9
How sendmail Handles Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
How sendmail Handles “Permanent” Failures . . . . . . . . . . . . . . . .144
How sendmail Handles “Temporary” Failures . . . . . . . . . . . . . . . .145
Modifying the Default sendmail Configuration File . . . . . . . . . . . . . . .147
The sendmail Configuration File. . . . . . . . . . . . . . . . . . . . . . . . . . . . .147
Restarting sendmail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .148
Forwarding Non-Domain Mail to a Gateway . . . . . . . . . . . . . . . . . . .148
Migrating the sendmail Configuration File . . . . . . . . . . . . . . . . . . . . . .149
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Troubleshooting sendmail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .152
Keeping the Aliases Database Up to Date . . . . . . . . . . . . . . . . . . . . .152
Updating Your NIS or NIS+ Aliases Database . . . . . . . . . . . . . . . .152
Verifying Address Resolution and Aliasing. . . . . . . . . . . . . . . . . . . . .153
Verifying Message Delivery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153
Contacting the sendmail Daemon to Verify Connectivity . . . . . . . . .154
Setting Your Domain Name. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
Attempting to Start Multiple sendmail Daemons . . . . . . . . . . . . . . .155
Configuring and Reading the sendmail Log . . . . . . . . . . . . . . . . . . . .156
Setting Log Levels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156
Understanding syslog Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
Storing Off Old sendmail Log Files . . . . . . . . . . . . . . . . . . . . . . . . .158
Printing and Reading the Mail Queue . . . . . . . . . . . . . . . . . . . . . . . .158
The Files in the Mail Queue. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
5. Configuring TFTP and BOOTP Servers
Chapter Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
How BOOTP Works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166
Address Determination and Bootfile Selection. . . . . . . . . . . . . . . . . .166
File Transfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168