Postfix: The Definitive Guide (Paperback)

Kyle D. Dent

  • 出版商: O'Reilly
  • 出版日期: 2004-01-27
  • 售價: $1,320
  • 貴賓價: 9.5$1,254
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 0596002122
  • ISBN-13: 9780596002121
  • 相關分類: Computer-networks
  • 立即出貨 (庫存 < 3)





Postfix is a Mail Transfer Agent (MTA): software that mail servers use to route email. Postfix is highly respected by experts for its secure design and tremendous reliability. And new users like it because it's so simple to configure. In fact, Postfix has been adopted as the default MTA on Mac OS X. It is also compatible with sendmail, so that existing scripts and programs continue to work seamlessly
after it is installed.

Postfix was written by well-known security expert Wietse Venema, who reviewed this book intensively during its entire development. Author Kyle Dent covers a wide range of Postfix tasks, from virtual hosting to controls for unsolicited commercial email.

While basic configuration of Postfix is easy, every site has unique needs that call for a certain amount of study. This book, with careful background explanations and generous examples, eases readers from the basic configuration to the full power of Postfix. It discusses the Postfix interfaces to various tools that round out a fully scalable and highly secure email system. These tools include POP, IMAP, LDAP, MySQL, Simple Authentication and Security Layer (SASL), and Transport Layer Security (TLS, an upgrade of SSL). A reference section for Postfix configuration parameters and an installation guide are included.

Topics include:

  • Basic installation and configuration
  • DNS configuration for email
  • Working with POP/IMAP servers
  • Hosting multiple domains (virtual hosting)
  • Mailing lists
  • Handling unsolicited email (spam blocking)
  • Security through SASL and TLS

From compiling and installing Postfix to troubleshooting, Postfix: The Definitive Guide offers system administrators and anyone who deals with Postfix an all-in-one, comprehensive tutorial and reference to this MTA.

Table of Contents



1. Introduction

     Postfix Origins and Philosophy

     Email and the Internet

     The Role of Postfix

     Postfix Security

     Additional Information and How to Obtain Postfix

2. Prerequisites

     Unix Topics

     Email Topics

3. Postfix Architecture

     Postfix Components

     How Messages Enter the Postfix System

     The Postfix Queue

     Mail Delivery

     Tracing a Message Through Postfix

4. General Configuration and Administration

     Starting Postfix the First Time

     Configuration Files

     Important Configuration Considerations


     Receiving Limits

     Rewriting Addresses



5. Queue Management

     How qmgr Works

     Queue Tools

6. Email and DNS

     DNS Overview

     Email Routing

     Postfix and DNS

     Common Problems

7. Local Delivery and POP/IMAP

     Postfix Delivery Transports

     Message Store Formats

     Local Delivery

     POP and IMAP

     Local Mail Transfer Protocol

8. Hosting Multiple Domains

     Shared Domains with System Accounts

     Separate Domains with System Accounts

     Separate Domains with Virtual Accounts

     Separate Message Store

     Delivery to Commands

9. Mail Relaying

     Backup MX

     Transport Maps

     Inbound Mail Gateway

     Outbound Mail Relay

     UUCP, Fax, and Other Deliveries

10. Mailing Lists

     Simple Mailing Lists

     Mailing-List Managers

11. Blocking Unsolicited Bulk Email

     The Nature of Spam

     The Problem of Spam

     Open Relays

     Spam Detection

     Anti-Spam Actions

     Postfix Configuration

     Client-Detection Rules

     Strict Syntax Parameters


     Customized Restriction Classes

     Postfix Anti-Spam Example

12. SASL Authentication

     SASL Overview

     Postfix and SASL

     Configuring Postfix for SASL

     Testing Your Authentication Configuration

     SMTP Client Authentication

13. Transport Layer Security

     Postfix and TLS

     TLS Certificates

14. Content Filtering

     Command-Based Filtering

     Daemon-Based Filtering

     Other Considerations

15. External Databases



A. Configuration Parameters

B. Postfix Commands

C. Compiling and Installing Postfix

D. Frequently Asked Questions





Postfix是一個郵件傳輸代理(MTA):郵件服務器用於路由電子郵件的軟件。Postfix以其安全設計和可靠性而受到專家的高度尊重。新用戶喜歡它,因為它非常簡單易用。事實上,Postfix已被採用為Mac OS X上的默認MTA。它還與sendmail兼容,因此在安裝後現有的腳本和程序可以無縫運行。Postfix由著名的安全專家Wietse Venema編寫,他在整個開發過程中對本書進行了深入的審查。作者Kyle Dent涵蓋了各種Postfix任務,從虛擬主機到對於垃圾郵件的控制。雖然基本的Postfix配置很容易,但每個站點都有獨特的需求,需要一定的學習。這本書通過仔細的背景解釋和豐富的示例,將讀者從基本配置引導到Postfix的全部功能。它討論了Postfix與各種工具的接口,這些工具可以完善可擴展性和高度安全的電子郵件系統。這些工具包括POP、IMAP、LDAP、MySQL、簡單身份驗證和安全層(SASL)以及傳輸層安全性(TLS,SSL的升級版)。書中還包括Postfix配置參數的參考部分和安裝指南。主題包括:基本安裝和配置、郵件的DNS配置、與POP/IMAP服務器的工作、多個域名的虛擬主機、郵件列表、垃圾郵件阻擋、通過SASL和TLS實現的安全性。從編譯和安裝Postfix到故障排除,《Postfix:權威指南》為系統管理員和任何與Postfix打交道的人提供了一個全面的教程和參考。


1. 簡介
- Postfix的起源和理念
- 電子郵件和互聯網
- Postfix的角色
- Postfix的安全性
- 其他信息和獲取Postfix的方法
2. 先決條件
- Unix主題
- 電子郵件主題
3. Postfix架構
- Postfix組件
- 郵件如何進入Postfix系統
- Postfix郵件隊列
- 郵件投遞
- 通過Postfix跟踪郵件
4. 通用配置和管理
- 第一次啟動Postfix
- 配置文件
- 重要的配置考慮因素
- 管理
- 接收限制
- 重寫地址
- chroot
- 文檔
5. 隊列管理
- qmgr的工作原理
- 隊列工具
6. 電子郵件和DNS
- DNS概述
- 電子郵件路由
- Postfix和DNS
- 常見問題
7. 本地投遞和POP/IMAP
- Postfix投遞傳輸