Exim is the default mail transport agent installed on some Linux systems; it runs on many versions of Unix and is suitable for any TCP/IP network with any combination of hosts and end-user mail software. It is open source, scalable, rich in features, and--best of all--easy to configure. This official guide is written by Philip Hazel, the creator of Exim.
-
Chapter 1 Introduction
-
Chapter 2 How Internet Mail Works
-
Different Types of MTA
-
Internet Message Standards
-
RFC 822 Message Format
-
The Message “On the Wire”
-
Summary of the SMTP Protocol
-
Forgery
-
Authentication and Encryption
-
Routing a Message
-
Checking Incoming Mail
-
Overview of the DNS
-
DNS Records Used for Mail Routing
-
Related DNS Records
-
Common DNS Errors
-
Role of the Postmaster
-
-
Chapter 3 Exim Overview
-
Exim Philosophy
-
Exim’s Queue
-
Receiving and Delivering Messages
-
Exim Processes
-
Coordination Between Processes
-
How Exim Is Configured
-
How Exim Delivers Messages
-
Local and Remote Addresses
-
Processing an Address
-
A Simple Example
-
Complications While Directing and Routing
-
Complications During Delivery
-
Complications After Delivery
-
Use of Transports by Directors and Routers
-
-
Chapter 4 Exim Operations Overview
-
How Exim Identifies Messages
-
Watching Exim at Work
-
The Runtime Configuration File
-
The Default Qualification Domain
-
Handling Frozen Bounce Messages
-
Reducing Activity at High Load
-
Limiting Message Sizes
-
Parallel Remote Delivery
-
Controlling the Number of Delivery Processes
-
Large Message Queues
-
Large Installations
-
-
Chapter 5 Extending the Delivery Configuration
-
Multiple Local Domains
-
Virtual Domains
-
Mailing Lists
-
Using an External Local Delivery Agent
-
Multiple User Addresses
-
Mixed Local/Remote Domains
-
Delivering to UUCP
-
Ignoring the Local Part in Local Deliveries
-
Handling Local Parts in a Case-Sensitive Manner
-
Scanning Messages for Viruses
-
Modifying Message Bodies
-
-
Chapter 6 Options Common to Directors and Routers
-
Conditional Running of Routers and Directors
-
Changing a Driver’s Successful Outcome
-
Adding Data for Use by Transports
-
Debugging Directors and Routers
-
Summary of Director/Router Generic Options
-
-
Chapter 7 The Directors
-
Conditional Running of Directors
-
Optimizing Single-Level Aliasing
-
Adding Data for Use by Transports
-
The aliasfile and forwardfile Directors
-
The aliasfile Director
-
The forwardfile Director
-
The localuser Director
-
The smartuser Director
-
-
Chapter 8 The Routers
-
Timeouts While Routing
-
Domains That Route to the Local Host
-
The lookuphost Router
-
The domainlist Router
-
The ipliteral Router
-
The queryprogram Router
-
-
Chapter 9 The Transports
-
Options Common to All Transports
-
The smtp Transport
-
Environment for Local Transports
-
Options Common to the appendfile and pipe Transports
-
The appendfile Transport
-
The pipe Transport
-
The lmtp Transport
-
The autoreply Transport
-
-
Chapter 10 Message Filtering
-
Examples of Filter Commands
-
Filtering Compared with an External Delivery Agent
-
Setting Up a User Filter
-
Setting Up a System Filter
-
Testing Filter Files
-
Format of Filter Files
-
Significant Actions
-
Filter Commands
-
The add Command
-
Delivery Commands
-
Mail Commands
-
Logging Commands
-
The testprint Command
-
The finish Command
-
Obeying Filter Commands Conditionally
-
Additional Features for System Filters
-
-
Chapter 11 Shared Data and Exim Processes
-
Message Files
-
Locking Message Files
-
Hints Files
-
Log Files
-
User and Group IDs for Exim Processes
-
Process Relationships
-
The Daemon Process
-
Reception Processes
-
Queue Runner Processes
-
Delivery Processes
-
Summary of Message Handling Process Types
-
Other Types of Process
-
-
Chapter 12 Delivery Errors and Retrying
-
Retrying After Errors
-
Remote Delivery Errors
-
Local Delivery Errors
-
Routing and Directing Errors
-
Retry Rules
-
Computing Retry Times
-
Using Retry Times
-
Retry Rule Examples
-
Timeout of Retry Data
-
Long-Term Failures
-
Ultimate Address Timeout
-
Intermittently Connected Hosts
-
-
Chapter 13 Message Reception and Policy Controls
-
Message Sources
-
Message Size Control
-
Messages from Local Processes
-
Unqualified Addresses from Remote Hosts
-
Checking a Remote Host
-
Checking Remote Sender Addresses
-
Checking Recipient Addresses
-
Checking Header Line Syntax
-
Relay Control
-
Customizing Prohibition Messages
-
Incoming Message Processing
-
-
Chapter 14 Rewriting Addresses
-
Automatic Rewriting
-
Configured Rewriting
-
Rewriting Rules
-
Rewriting Patterns
-
Rewriting Flags
-
A Further Rewriting Example
-
Testing Rewriting Rules
-
-
Chapter 15 Authentication, Encryption, and Other SMTP Processing
-
SMTP Authentication
-
Encrypted SMTP Connections
-
SMTP over TCP/IP
-
Local SMTP
-
Batched SMTP
-
-
Chapter 16 File and Database Lookups
-
Single-Key Lookup Types
-
Query-Style Lookup Types
-
Quoting Lookup Data
-
NIS+
-
LDAP
-
MySQL and PostgreSQL
-
DNS Lookups
-
Implicit Keys in Query-Style Lookups
-
Temporary Errors in Lookups
-
Default Values in Single-Key Lookups
-
Partial Matching in Single-Key Lookups
-
Lookup Caching
-
-
Chapter 17 String Expansion
-
Variable Substitution
-
Header Insertion
-
Operations on Substrings
-
Character Translation
-
Text Substitution
-
Conditional Expansion
-
Lookups in Expansion Strings
-
Extracting Fields from Substrings
-
IP Address Masking
-
Quoting
-
Reexpansion
-
Running Embedded Perl
-
Testing String Expansions
-
-
Chapter 18 Domain, Host, and Address Lists
-
Negative Items in Lists
-
List Items in Files
-
Lookup Items in Lists
-
Domain Lists
-
Host Lists
-
Address Lists
-
-
Chapter 19 Miscellany
-
Security Issues
-
Privileged Users
-
RFC Conformance
-
Timestamps
-
Checking Spool Space
-
Control of DNS Lookups
-
Bounce Message Handling
-
Miscellaneous Controls
-
-
Chapter 20 Command-Line Interface to Exim
-
Input Mode Control
-
Additional Message Data
-
Immediate Delivery Control
-
Error Routing
-
Queue Runner Processes
-
Configuration Overrides
-
Watching Exim’s Queue
-
Message Control
-
Testing Options
-
Options for Debugging
-
Terminating the Options
-
Embedded Perl Options
-
Compatibility with Sendmail
-
Calling Exim by Different Names
-
-
Chapter 21 Administering Exim
-
Log Files
-
Log Destination Control
-
Format of Main Log Entries
-
Cycling Log Files
-
Extracting Information from Log Files
-
Watching What Exim is Doing
-
The Exim Monitor
-
Maintaining Alias and Other Datafiles
-
Hints Database Maintenance
-
Mailbox Maintenance
-
-
Chapter 22 Building and Installing Exim
-
Prerequisites
-
Fetching and Unpacking the Source
-
Configuration for Building
-
The Building Process
-
Installing Exim
-
Testing Before Turning On
-
Turning Exim On
-
Installing Documentation in Info Format
-
Upgrading to a New Release
-
-
Appendix Summary of String Expansion
-
Expansion Items
-
Expansion Conditions
-
Expansion Variables
-
-
Appendix Regular Expressions
-
Testing Regular Expressions
-
Metacharacters
-
Backslash
-
Changing Matching Options
-
Circumflex and Dollar
-
Dot (Period, Full Stop)
-
Square Brackets
-
POSIX Character Classes
-
Vertical Bar
-
Subpatterns
-
Repetition
-
Back References
-
Assertions
-
Once-Only Subpatterns
-
Conditional Subpatterns
-
Comments
-
Recursive Patterns
-
Performance
-
-
Colophon
- Title:
- Exim: The Mail Transfer Agent
- By:
- Philip Hazel
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- July 2001
- Pages:
- 640
- Print ISBN:
- 978-0-596-00098-1
- | ISBN 10:
- 0-596-00098-7
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 Exim: The Mail Transfer Agent is an aye-aye. The aye-aye is part of the order of primates, and in fact is part of the lemur group. Native to Madagascar, they are considered one of the strangest looking primates, and not very much is known about them. A full-grown adult is about the size of a raccoon. Its features include large round ears, black fur with white spots, a flat nose, and big round eyes. Two very distinctive characteristics of the aye-aye are its incisor teeth, which never stop growing, and its long, spindly fingers, of which the middle finger is the longest. Both of these traits are used as tools in hunting food. The aye-aye lives mostly on bug larvae and fruit; it often uses its teeth to break open dead tree bark, then uses its long middle finger to reach inside and take hold of the bugs.
The aye-aye is completely nocturnal, and lives mostly in trees in the forest. Unfortunately, it is dangerously close to extinction. One reason for this is that its natural habitat, the rain forest, is gradually being destroyed for resources. Due to this loss of its food source, the aye-aye has had to forage for food in other areas, and often steals from local farms. For this reason, it is killed as a pest. Also, in parts of Madagascar, there is a superstition that the aye-aye is a harbinger of bad luck and death; therefore, it is often killed on sight. However, steps are being taken to ensure the safety of the species, such as breeding some in captivity and declaring certain areas of the forest as protected. Mary Brady was the production editor and proofreader and Mark Nigara was the copyeditor for Exim: The Mail Transfer Agent. Jane Ellin and Claire Cloutier provided quality control. Ann Schirmer, Gabe Weiss, and Lucy Muellner provided production assistance. Nancy Crumpton 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. Erica Corwell produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout based on a series design by Nancy Priest. The print version of this book was created by translating the DocBook XML markup of its source files into a set of gtroff macros using a filter developed at O'Reilly & Associates by Norman Walsh. Steve Talbott designed and wrote the underlying macro set on the basis of the GNU troff s macros; Lenny Muellner adapted them to XML and implemented the book design. The GNU groff text formatter Version 1.11.1 was used to generate PostScript output. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Mary Brady.
