Sendmail: Theory and Practice, Second Edition

If the mail to postmaster or mailer-daemon eventually ends up in a mailbox with your name on it, you'll need to learn to recognize and resolve certain problems. We will present some of the more common problems you will run up against and give suggestions for resolving them. Some problems you encounter won't be covered here, but by their nature they will be few and fleeting. These types of problems will cause you to think hard and spend hours testing configurations if the problems are clearly a fault of your mail gateway. But that's one reason God gave you a brain bigger than a monkey's (although monkeys usually get the proper amount of sleep and you won't).
The most common group of errors you will see, if you are the postmaster, is undeliverable mail. For one reason or another an error in transmission has occurred and the mail, which is usually returned to the sender on an error, can't be returned. This allows us to engage in one of the more interesting of pastimes for Postmasters: reading other people's mail with impunity! No, not really. What we must do, though, is read the headers of the message and glean what we can from them.
Who sent the error message? It is, in all probability, from a MAILER-DAEMON, but which one? It may also be from a user who has received mail bounced by a MAILER-DAEMON. We want...