Description
A classic O'Reilly title since 1993, sendmail now covers Versions 8.10 through 8.14 of this email routing program, including dozens of new features, options, and macros. This edition also takes a more nuts-and-bolts approach than its predecessors. It includes both an administration handbook and a reference guide that provide you with clear options for installing, configuring and managing sendmail's latest versions and companion programs.
Full Description
Table of Contents
-
Chapter 1 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
-
-
Administration
-
Chapter 2 Download, Build, and Install
- Vendor Versus Compiling
- Download the Source
- What's Where in the Source
- Build sendmail
- Install sendmail
- Pitfalls
- Build m4 Macro Reference
-
Chapter 3 Tune sendmail with Compile-Time Macros
- Before You Begin, a Checklist
- To Port, Tune, or Debug
- Pitfalls
- Compile-Time Macro Reference
-
Chapter 4 Maintain Security with sendmail
- Why root?
- The Environment
- SMTP Probes
- The Configuration File
- Permissions
- The aliases File
- Forged Mail
- Security Features
- Other Security Information
- Pitfalls
-
Chapter 5 Authentication and Encryption
- Support SMTP AUTH
- Public Key Cryptography
- STARTTLS
- Pitfalls
-
Chapter 6 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
-
Chapter 7 How to Handle Spam
- The Local_check_ Rule Sets
- How DNSBL Works
- Check Headers with Rule Sets
- Relaying
- The access Database
- Spam Suppression Features
- Pitfalls
-
Chapter 8 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
-
Chapter 9 DNS and sendmail
- Overview
- How sendmail Uses DNS
- Set Up MX Records
- How to Use dig
- Pitfalls
-
Chapter 10 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
-
Chapter 11 Manage the Queue
- Overview of the Queue
- Parts of a Queued Message
- Using Multiple Queue Directories
- Queue Groups (V8.12 and Later)
- Bogus qf Files
- Printing the Queue
- How the Queue Is Processed
- Cause Queues to Be Processed
- Process Alternative Queues
- Queue Quarantining
- Pitfalls
- The qf File Internals
-
Chapter 12 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
-
Chapter 13 Mailing Lists and ~/.forward
- Internal Mailing Lists
- :include: Mailing Lists
- Defining a Mailing List Owner
- Exploder Mailing Lists
- Problems with Mailing Lists
- Mail List Etiquette
- Packages That Help
- The User's ~/.forward File
- Pitfalls
-
Chapter 14 Signals, Transactions, and Syslog
- Signal the Daemon
- Log Transactions with -X
- Log with syslog
- Pitfalls
- Other Useful Logging
- Alphabetized syslog Equates
-
Chapter 15 Debug sendmail with -d
- The Syntax of -d
- The Behavior of -d
- Interpret the Output
- The -D Debug File Switch
- Table of All -d Categories
- Pitfalls
- Reference for -d in Numerical Order
-
-
Configuration Reference
-
Chapter 16 Configuration File Overview
- Overall Syntax
- Comments
- V8 Comments
- Continuation Lines
- The V Configuration Command
- Pitfalls
-
Chapter 17 Configure sendmail.cf with m4
- The m4 Preprocessor
- Configure with m4
- m4 Macros by Function
- Masquerading
- Relays
- UUCP Support
- Pitfalls
- Configuration File Feature Reference
-
Chapter 18 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
-
Chapter 19 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
-
Chapter 20 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
-
Chapter 21 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
-
Chapter 22 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
-
Chapter 23 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
-
Chapter 24 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
-
Chapter 25 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 Re-Sent Headers
- Precedence
- Pitfalls
- Alphabetized Header Reference
-
Chapter 26 The X (Milters) Configuration Command
- Create Milter Support
- Add Configuration Support
- Build a Milter
- Pitfalls
- smfi_ Routine Reference
- xxfi_ Routine Reference
-
-
Appendixes
-
Appendix The mc Configuration Macros and Directives
-
Appendix What's New Since Edition 3
- , Some Basics
- , Download, Build, and Install
- , Tune sendmail with Compile-Time Macros
- , Maintain Security with sendmail
- , Authentication and Encryption
- , The sendmail Command Line
- , How to Handle Spam
- , Test Rule Sets with -bt
- , DNS and sendmail
- , Build and Use Companion Programs
- , Manage the Queue
- , Maintain Aliases
- , Mailing Lists and ~/.forward
- , Signals, Transactions, and Syslog
- , Debug sendmail with -d
- , Configuration File Overview
- , Configure sendmail.cf with m4
- , The R (Rules) Configuration Command
- , The S (Rule Sets) Configuration Command
- , The M (Mail Delivery Agent) Configuration Command
- , The D (Define a Macro) Configuration Command
- , The C and F (Class Macro) Configuration Commands
- , The K (Database-Map) Configuration Command
- , The O (Options) Configuration Command
- , The H (Headers) Configuration Command
- , The X (Milters) Configuration Command
-
Appendix The checkcompat( ) Function
- How checkcompat( ) Works
-
-
Bibliography
-
Colophon
Product Details
- Title:
- sendmail, Fourth Edition
- By:
- Bryan Costales, Claus Assmann, George Jansen, Gregory Neil Shapiro
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- October 2007
- Ebook Release:
- December 2008
- Pages:
- 1312
- Print ISBN:
- 978-0-596-51029-9
- | ISBN 10:
- 0-596-51029-2
- Ebook ISBN:
- 978-0-596-15969-6
- | ISBN 10:
- 0-596-15969-2
Customer Reviews
