-
Chapter 1 Getting Started
-
Introduction
-
Downloading the Latest Release
-
Installing sendmail
-
Compiling sendmail to Use LDAP
-
Adding the regex Map Type to sendmail
-
Compiling sendmail with SASL Support
-
Compiling sendmail with STARTTLS Support
-
Compiling in STARTTLS File Paths
-
Building a sendmail Configuration
-
Testing a New Configuration
-
Logging sendmail
-
-
Chapter 2 Delivery and Forwarding
-
Introduction
-
Accepting Mail for Other Hosts
-
Fixing the Alias0 Missing Map Error and Creating Simple Aliases
-
Reading Aliases via LDAP
-
Configuring Red Hat 7.3 to Read Aliases from a NIS Server
-
Configuring Solaris 8 to Read Aliases from a NIS Server
-
Forwarding to an External Address
-
Creating Mailing Lists
-
Migrating Ex-Users to New Addresses
-
Delivering Mail to a Program
-
Using Program Names in Mailing Lists
-
Allowing Nonlogin Users to Forward to Programs
-
Fixing a .forward Loop
-
Enabling the User Database
-
-
Chapter 3 Relaying
-
Introduction
-
Passing All Mail to a Relay
-
Passing Outbound Mail to a Relay
-
Passing Local Mail to a Mail Hub
-
Passing Apparently Local Mail to a Relay
-
Passing UUCP Mail to a Relay
-
Relaying Mail for All Hosts in a Domain
-
Relaying Mail for Individual Hosts
-
Configuring Relaying on a Mail Exchanger
-
Loading Class $=R via LDAP
-
Relaying Only Outbound Mail
-
-
Chapter 4 Masquerading
-
Introduction
-
Adding Domains to All Sender Addresses
-
Masquerading the Sender Hostname
-
Eliminating Masquerading for the Local Mailer
-
Forcing Masquerading of Local Mail
-
Masquerading Recipient Addresses
-
Masquerading at the Relay Host
-
Limiting Masquerading
-
Masquerading All Hosts in a Domain
-
Masquerading Most of the Hosts in a Domain
-
Masquerading the Envelope Address
-
Rewriting the From Address with the genericstable
-
Rewriting Sender Addresses for an Entire Domain
-
Masquerading with LDAP
-
Reading the genericstable via LDAP
-
-
Chapter 5 Routing Mail
-
Introduction
-
Routing Mail to Special Purpose Mailers
-
Sending Error Messages from the mailertable
-
Disabling MX Processing to Avoid Loops
-
Routing Mail for Local Delivery
-
Reading the mailertable via LDAP
-
Routing Mail for Individual Virtual Hosts
-
Routing Mail for Entire Virtual Domains
-
Reading the virtusertable via LDAP
-
Routing Mail with LDAP
-
Using LDAP Routing with Masquerading
-
-
Chapter 6 Controlling Spam
-
Introduction
-
Blocking Spam with the access Database
-
Preventing Local Users from Replying to Spammers
-
Reading the access Database via LDAP
-
Using a DNS Blackhole List Service
-
Building Your Own DNS Blackhole List
-
Whitelisting Blacklisted Sites
-
Filtering Local Mail with procmail
-
Filtering Outbound Mail with procmail
-
Invoking Special Header Processing
-
Using Regular Expressions in sendmail
-
Identifying Local Problem Users
-
Using MILTER
-
Bypassing Spam Checks
-
Enabling Spam Checks on a Per-User Basis
-
-
Chapter 7 Authenticating with AUTH
-
Introduction
-
Offering AUTH Authentication
-
Authenticating with AUTH
-
Storing AUTH Credentials in the authinfo File
-
Limiting Advertised Authentication Mechanisms
-
Using AUTH to Permit Relaying
-
Controlling the AUTH= Parameter
-
Avoiding Double Encryption
-
Requiring Authentication
-
Selectively Requiring Authentication
-
-
Chapter 8 Securing the Mail Transport
-
Introduction
-
Building a Private Certificate Authority
-
Creating a Certificate Request
-
Signing a Certificate Request
-
Configuring sendmail for STARTTLS
-
Relaying Based on the CA
-
Relaying Based on the Certificate Subject
-
Requiring Outbound Encryption
-
Requiring Inbound Encryption
-
Requiring a Verified Certificate
-
Requiring TLS for a Recipient
-
Refusing STARTTLS Service
-
Selectively Advertising STARTTLS
-
Requesting Client Certificates
-
-
Chapter 9 Managing the Queue
-
Introduction
-
Creating Multiple Queues
-
Using qf, df, and xf Subdirectories
-
Defining Queue Groups
-
Assigning Recipients to Specific Queues
-
Using Persistent Queue Runners
-
Using a Queue Server
-
Setting Protocol Timers
-
-
Chapter 10 Securing sendmail
-
Introduction
-
Limiting the Number of sendmail Servers
-
Limiting the Number of Network Accessible Servers
-
Updating to Close Security Holes
-
Patching to Close Security Holes
-
Disabling Delivery to Programs
-
Controlling Delivery to Programs
-
Disabling Delivery to Files
-
Bypassing User .forward Files
-
Controlling Delivery to Files
-
Running sendmail Non-Set-User-ID root
-
Setting a Safe Default User ID
-
Defining Trusted Users
-
Identifying the sendmail Administrator
-
Limiting the SMTP Command Set
-
Requiring a Valid HELO
-
Restricting Command-Line Options
-
Denying DoS Attacks
-
-
Colophon
- Title:
- sendmail Cookbook
- By:
- Craig Hunt
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- December 2003
- Ebook Release:
- February 2009
- Pages:
- 408
- Print ISBN:
- 978-0-596-00471-2
- | ISBN 10:
- 0-596-00471-0
- Ebook ISBN:
- 978-0-596-10383-5
- | ISBN 10:
- 0-596-10383-2
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of sendmail Cookbook is a common European bat (Pipistrellus pipistrellus). Pipistrelles are the most common bat in Britain and are abundant throughout Europe and Asia, although they are reportedly endangered in Germany and Austria. Among the world's smallest bats, Pipistrelles have a body length of 35 to 45 millimeters (about 1.5 inches) and a wingspan of 190 to 250 millimeters (about 9 inches). These tiny mammals have a voracious appetite, consuming up to 3,000 insects a night when the weather is warm. Averse to the cold, their behavior during winter months is mostly unknown. There has been a marked decline in the number of pipistrelles due to modern agricultural practices, including the use of insecticides and the illegal disturbance of their habitats by builders. Marlowe Shaeffer was the production editor and proofreader for sendmail Cookbook. Derek Di Matteo was the copyeditor. Reg Aubry, Claire Cloutier, and Emily Quill provided quality control. Jamie Peppard provided production assistance. Tom Dinse wrote the index.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted to FrameMaker 5.5.6 by Julie Hawks with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Marlowe Shaeffer.
