| |
| |
Preface | |
| |
| |
| |
Some Basics | |
| |
| |
| |
Email Basics | |
| |
| |
| |
Requests for Comments (RFCs) | |
| |
| |
| |
Email and sendmail | |
| |
| |
| |
Basic Parts of sendmail | |
| |
| |
| |
Basic Parts of a Mail Message | |
| |
| |
| |
Basic Roles of sendmail | |
| |
| |
| |
Basic Modes of sendmail | |
| |
| |
| |
The sendmail.cf File | |
| |
| |
| |
Build and Install | |
| |
| |
| |
Build and Install sendmail | |
| |
| |
| |
Vendor Versus Compiling | |
| |
| |
| |
Obtain the Source | |
| |
| |
| |
The Build Script | |
| |
| |
| |
Building with m4 | |
| |
| |
| |
Build sendmail | |
| |
| |
| |
Install sendmail | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Build m4 Macro Reference | |
| |
| |
| |
Tune sendmail with Compile-Time Macros | |
| |
| |
| |
Before You Begin, a Checklist | |
| |
| |
| |
To Port, Tune, or Debug | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Compile-Time Macro Reference | |
| |
| |
| |
Configure sendmail.cf with m4 | |
| |
| |
| |
The m4 Preprocessor | |
| |
| |
| |
Configure with m4 | |
| |
| |
| |
m4 Macros by Function | |
| |
| |
| |
Masquerading | |
| |
| |
| |
Relays | |
| |
| |
| |
UUCP Support | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Configuration File Feature Reference | |
| |
| |
| |
Build and Use Companion Programs | |
| |
| |
| |
The Build Script | |
| |
| |
| |
The editmap Program | |
| |
| |
| |
The mail.local Delivery Agent | |
| |
| |
| |
The mailstats Program | |
| |
| |
| |
The makemap Program | |
| |
| |
| |
The praliases Program | |
| |
| |
| |
The rmail Delivery Agent | |
| |
| |
| |
The smrsh Program | |
| |
| |
| |
The vacation Program | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Administration | |
| |
| |
| |
Tune Performance | |
| |
| |
| |
Handle Deep Queues | |
| |
| |
| |
Sidestep Slow Hosts | |
| |
| |
| |
Deliver to Files | |
| |
| |
| |
Buffered File I/O | |
| |
| |
| |
Use Multiple Queues | |
| |
| |
| |
Condition the Network | |
| |
| |
| |
Tune the Kernel | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
How to Handle spam | |
| |
| |
| |
The Local_check_Rule Sets | |
| |
| |
| |
How DNSBL Works | |
| |
| |
| |
Check Headers with Rule Sets | |
| |
| |
| |
Relaying | |
| |
| |
| |
The access Database | |
| |
| |
| |
The Milter Library | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Test Rule Sets with -bt | |
| |
| |
| |
Overview | |
| |
| |
| |
Configuration Lines | |
| |
| |
| |
Dump a sendmail Macro or Class | |
| |
| |
| |
Show an Item | |
| |
| |
| |
Complex Actions Made Simple | |
| |
| |
| |
Process-Specified Addresses | |
| |
| |
| |
Add Debugging for Detail | |
| |
| |
| |
Batch Rule-Set Testing | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
DNS and sendmail | |
| |
| |
| |
Overview | |
| |
| |
| |
How sendmail Uses DNS | |
| |
| |
| |
Set Up MX Records | |
| |
| |
| |
How to Use nslookup | |
| |
| |
| |
Prepare for Disaster | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Maintain Security with sendmail | |
| |
| |
| |
Why root? | |
| |
| |
| |
The Environment | |
| |
| |
| |
SMTP Probes | |
| |
| |
| |
The Configuration File | |
| |
| |
| |
Permissions | |
| |
| |
| |
The Aliases File | |
| |
| |
| |
Forged Mail | |
| |
| |
| |
Security Features | |
| |
| |
| |
Support SMTP AUTH | |
| |
| |
| |
STARTTLS | |
| |
| |
| |
Other Security Information | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Manage the Queue | |
| |
| |
| |
Overview of the Queue | |
| |
| |
| |
Parts of a Queued Message | |
| |
| |
| |
Using Multiple Queue Directories | |
| |
| |
| |
Queue Groups (V8.12 and Above) | |
| |
| |
| |
Bogus qf Files | |
| |
| |
| |
Printing the Queue | |
| |
| |
| |
How the Queue Is Processed | |
| |
| |
| |
Cause Queues to Be Processed | |
| |
| |
| |
Process Alternate Queues | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
The qf File Internals | |
| |
| |
| |
Maintain Aliases | |
| |
| |
| |
The aliases(5) File | |
| |
| |
| |
Forms of Alias Delivery | |
| |
| |
| |
Write a Delivery Agent Script | |
| |
| |
| |
Special Aliases | |
| |
| |
| |
The Aliases Database | |
| |
| |
| |
Prevent Aliasing with -n | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Mailing Lists and [similar]/.forward | |
| |
| |
| |
Internal Mailing Lists | |
| |
| |
| |
:include: Mailing Lists | |
| |
| |
| |
Defining a Mailing List Owner | |
| |
| |
| |
Exploder Mailing Lists | |
| |
| |
| |
Problems with Mailing Lists | |
| |
| |
| |
Packages That Help | |
| |
| |
| |
The User's [similar]/.forward File | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Signals, Transactions, and Syslog | |
| |
| |
| |
Signal the Daemon | |
| |
| |
| |
Log Transactions with -X | |
| |
| |
| |
Log with syslog | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized syslog Equates | |
| |
| |
| |
The sendmail Command Line | |
| |
| |
| |
Alternative argv[0] Names | |
| |
| |
| |
Command-Line Switches | |
| |
| |
| |
List of Recipient Addresses | |
| |
| |
| |
Processing the Command Line | |
| |
| |
| |
sendmail's exit() Status | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized Command-Line Switches | |
| |
| |
| |
Debug sendmail with -d | |
| |
| |
| |
The Syntax of -d | |
| |
| |
| |
The Behavior of -d | |
| |
| |
| |
Interpret the Output | |
| |
| |
| |
Table of All -d Categories | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Reference for -d in Numerical Order | |
| |
| |
| |
The Configuration File | |
| |
| |
| |
Configuration File Overview | |
| |
| |
| |
Overall Syntax | |
| |
| |
| |
Comments | |
| |
| |
| |
V8 Comments | |
| |
| |
| |
Continuation Lines | |
| |
| |
| |
The V Configuration Command | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
The R (Rules) Configuration Command | |
| |
| |
| |
Why Rules? | |
| |
| |
| |
The R Configuration Command | |
| |
| |
| |
Tokenizing Rules | |
| |
| |
| |
The Workspace | |
| |
| |
| |
The Behavior of a Rule | |
| |
| |
| |
The LHS | |
| |
| |
| |
The RHS | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Rule Operator Reference | |
| |
| |
| |
The S (Rule Sets) Configuration Command | |
| |
| |
| |
The S Configuration Command | |
| |
| |
| |
The Sequence of Rule Sets | |
| |
| |
| |
The canonify Rule Set 3 | |
| |
| |
| |
The final Rule Set 4 | |
| |
| |
| |
The parse Rule Set 0 | |
| |
| |
| |
The localaddr Rule Set 5 | |
| |
| |
| |
Rule Sets 1 and 2 | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Policy Rule-Set Reference | |
| |
| |
| |
The M (Mail Delivery Agent) Configuration Command | |
| |
| |
| |
The M Configuration Command | |
| |
| |
| |
The Symbolic Delivery Agent Name | |
| |
| |
| |
The mc Configuration Syntax | |
| |
| |
| |
Delivery Agents by Name | |
| |
| |
| |
Delivery Agent Equates | |
| |
| |
| |
How a Delivery Agent Is Executed | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Delivery Agent F= Flags | |
| |
| |
| |
The D (Define a Macro) Configuration Command | |
| |
| |
| |
Preassigned sendmail Macros | |
| |
| |
| |
Command-Line Definitions | |
| |
| |
| |
Configuration-File Definitions | |
| |
| |
| |
Macro Names | |
| |
| |
| |
Macro Expansion: $ and $& | |
| |
| |
| |
Macro Conditionals: $?, $, and $. | |
| |
| |
| |
Macros with mc Configuration | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized sendmail Macros | |
| |
| |
| |
The C and F (Class Macro) Configuration Commands | |
| |
| |
| |
Class Configuration Commands | |
| |
| |
| |
Access Classes in Rules | |
| |
| |
| |
Classes with mc Configuration | |
| |
| |
| |
Internal Class Macros | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized Class Macros | |
| |
| |
| |
The K (Database-Map) Configuration Command | |
| |
| |
| |
Enable at Compile Time | |
| |
| |
| |
The K Configuration Command | |
| |
| |
| |
The K Command switches | |
| |
| |
| |
Use $ (and $) in Rules | |
| |
| |
| |
Database Maps with mc Configuration | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized Database-Map Types | |
| |
| |
| |
The O (Options) Configuration Command | |
| |
| |
| |
Overview | |
| |
| |
| |
Command-Line Options | |
| |
| |
| |
configuration File Options | |
| |
| |
| |
Options in the mc File | |
| |
| |
| |
Alphabetical Table of All Options | |
| |
| |
| |
Option Argument Types | |
| |
| |
| |
Interrelating Options | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized Options | |
| |
| |
| |
The H (Headers) Configuration Command | |
| |
| |
| |
Overview | |
| |
| |
| |
Header Names | |
| |
| |
| |
Header Field Contents | |
| |
| |
| |
?flags? in Header Definitions | |
| |
| |
| |
Rules Check Header Contents | |
| |
| |
| |
Header Behavior in conf.c | |
| |
| |
| |
Headers and mc Configuration | |
| |
| |
| |
Headers by Category | |
| |
| |
| |
Forwarding with Resent Headers | |
| |
| |
| |
Precedence | |
| |
| |
| |
Pitfalls | |
| |
| |
| |
Alphabetized Header Reference | |
| |
| |
| |
Appendixes | |
| |
| |
| |
The mc Configuration Macros and Directives | |
| |
| |
| |
What's New Since V8.8 | |
| |
| |
| |
Error Message Reference | |
| |
| |
| |
The checkcompat() Cookbook | |
| |
| |
| |
A Map to Tutorial Information | |
| |
| |
Bibliography | |
| |
| |
Index | |