Installing and Administering Internet Services
8
Contents
To Update /etc/hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Delegating a Subdomain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Configuring a Root Name Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Configuring BIND in SAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
The Logging System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Troubleshooting the BIND Name Server . . . . . . . . . . . . . . . . . . . . . . . 136
Troubleshooting Tools and Techniques . . . . . . . . . . . . . . . . . . . . . . . 136
Problem Symptoms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Name Server Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Understanding Name Server Debugging Output . . . . . . . . . . . . . . . 145
Name Server Statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
4. Installing and Administering sendmail
Deciding Whether to Install sendmail . . . . . . . . . . . . . . . . . . . . . . . . . 156
Installing sendmail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Installing sendmail on a Standalone System . . . . . . . . . . . . . . . . . . 157
Installing sendmail on a Mail Server. . . . . . . . . . . . . . . . . . . . . . . . . 158
Installing sendmail on a Mail Client. . . . . . . . . . . . . . . . . . . . . . . . . 159
Verifying Your sendmail Installation. . . . . . . . . . . . . . . . . . . . . . . . . 161
Creating sendmail Aliases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Adding sendmail Aliases to the Alias Database . . . . . . . . . . . . . . . . 164
Verifying Your sendmail Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Managing sendmail Aliases with NIS or NIS+. . . . . . . . . . . . . . . . . 168
Rewriting the “From” Line on Outgoing Mail . . . . . . . . . . . . . . . . . . 169
Forwarding Your Own Mail with a .forward File . . . . . . . . . . . . . . . 170
How sendmail Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
How sendmail Collects Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . 172