Chapter 18. Sendmail

Table of Contents
18.1. Introduction to sendmail
18.2. Installing sendmail
18.3. Overview of Configuration Files
18.4. The sendmail.cf and sendmail.mc Files
18.4.1. Two Example sendmail.mc Files
18.4.2. Typically Used sendmail.mc Parameters
18.5. Generating the sendmail.cf File
18.6. Interpreting and Writing Rewrite Rules
18.6.1. sendmail.cf R and S Commands
18.6.2. Some Useful Macro Definitions
18.6.3. The Lefthand Side
18.6.4. The Righthand Side
18.6.5. A Simple Rule Pattern Example
18.6.6. Ruleset Semantics
18.7. Configuring sendmail Options
18.8. Some Useful sendmail Configurations
18.8.1. Trusting Users to Set the From: Field
18.8.2. Managing Mail Aliases
18.8.3. Using a Smart Host
18.8.4. Managing Unwanted or Unsolicited Mail (Spam)
18.8.5. Configuring Virtual Email Hosting
18.9. Testing Your Configuration
18.10. Running sendmail
18.11. Tips and Tricks
18.11.1. Managing the Mail Spool
18.11.2. Forcing a Remote Host to Process its Mail Queue
18.11.3. Analyzing Mail Statistics