qmail
暫譯: qmail郵件伺服器

John Levine

  • 出版商: O'Reilly
  • 出版日期: 2004-04-27
  • 定價: $1,180
  • 售價: 5.0$590
  • 語言: 英文
  • 頁數: 252
  • 裝訂: Paperback
  • ISBN: 1565926285
  • ISBN-13: 9781565926288
  • 相關分類: Linux
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

相關主題

商品描述

qmail has quietly become one of the most widely used applications on the Internet today. It's powerful enough to handle mail for systems with millions of users--Like Yahoo! Mail and Hotmail, while remaining compact and manageable enough for the smallest Unix- and Linux-based PC systems. Its component design makes it easy to extend and customize while keeping its key functions secure, so it's no wonder that adoption of qmail continues at a rapid pace.

The downside? Apparently none. Except that qmail's unique design can be disorienting to those familiar with other popular MTAs (Mail Transfer Agents). If you're coming from sendmail, for instance, you might have trouble recasting your problems and solutions in qmail terms. qmail first helps you establish a "qmail frame of mind," then explores the installation, configuration, administration, and extension of this powerful MTA. Whether you're installing from scratch or managing mailing lists with thousands of users, qmail provides detailed information about how to make qmail do precisely what you want

qmail concentrates on common tasks like moving a sendmail setup to qmail, or setting up a "POP toaster," a system that provides mail service to a large number of users on other computers sending and retrieving mail remotely. The book also fills crucial gaps in existing documentation, detailing exactly what the core qmail software does.

Topics covered include:

  • Installation and configuration, including patching qmail
  • Moving from sendmail to qmail
  • Handling locally and remotely originated messages
  • Managing virtual domains
  • Logging qmail activity
  • Tuning qmail performance
  • Running multiple copies of qmail on the same computer
  • Mailing list setup and management
  • Integrating the qmail MTA with POP and IMAP delivery
  • Filtering out spam and viruses


If you need to manage mailing lists, large volumes of mail, or simply find sendmail and other MTAs too complicated, qmail may be exactly what's called for. Our new guide, qmail, will provide the guidance you need to build an email infrastructure that performs well, makes sense, and is easy to maintain.

Table of Contents:

Preface

Part I. Introduction to Qmail

1. Internet Email
     Mail Basics
     Mailstore
     The Structure of Internet Mail

2. How Qmail Works
     Small Programs Work Together
     What Does a Mail Transfer Agent (MTA) Do?
     The Pieces of Qmail

3. Installing Qmail
     Where to Find Qmail
     Creating the Users and Groups
     Configuring and Making the Software
     Patching Qmail

4. Getting Comfortable with Qmail
     Mailboxes, Local Delivery, and Logging
     An Excursion into Daemon Management
     Setting Up the Qmail Configuration Files
     Starting and Stopping Qmail
     Incoming Mail
     Procmail and Qmail
     Creating Addresses and Mailboxes
     Reading Your Mail
     Configuring Qmail's Control Files
     Using ~alias
     fastforward and /etc/aliases

5. Moving from Sendmail to Qmail
     Running Sendmail and Qmail in Parallel
     User Issues
     System Issues
     Converting Your Aliases File
     Trusted Users

6. Handling Locally Generated Mail
     qmail-queue
     Cleaning Up Injected Mail
     Accepting Local Mail from Other Hosts
     Distinguishing Injected from Relayed Mail

7. Accepting Mail from Other Hosts
     Accepting Incoming SMTP Mail
     Accepting and Cleaning Up Local Mail Using the Regular SMTP Daemon
     Dealing with Roaming Users
     SMTP Authorization and TLS Security
     POP-before-SMTP

8. Delivering and Routing Local Mail
     Mail to Local Login Users
     Mail Sorting

9. Filtering and Rejecting Spam and Viruses
     Filtering Criteria
     Places to Filter
     Spam Filtering and Virus Filtering
     Connection-Time Filtering Tools
     SMTP-Time Filtering Tools
     Delivery Time Filtering Rules
     Combination Filtering Schemes

Part II. Advanced Qmail

10. Local Mail Delivery
     How Qmail Delivers Local Mail
     Mailbox Deliveries
     Program Deliveries
     Subaddresses
     Special Forwarding Features for Mailing Lists
     The Users Database
     Bounce Handling

11. Remote Mail Delivery
     Telling Local from Remote Mail
     qmail-remote
     Locating the Remote Mail Host
     Remote Mail Failures
     Serialmail

12. Virtual Domains
     How Virtual Domains Work
     Some Common Virtual Domain Setups
     Some Virtual Domain Details

13. POP and IMAP Servers and POP Toasters
     Each Program Does One Thing
     Starting the Pop Server
     Testing Your POP Server
     Building POP Toasters
     Picking Up Mail with IMAP and Web Mail

14. Mailing Lists
     Sending Mail to Lists
     Using Ezmlm with qmail
     Using Other List Managers with Qmail
     Sending Bulk Mail That's Not All the Same

15. The Users Database
     If There's No Users Database
     Making the Users File
     How Qmail Uses the Users Database
     Typical Users Setup
     Adding Entries for Special Purposes

16. Logging, Analysis, and Tuning
     What Qmail Logs
     Collecting and Analyzing Qmail Logs with Qmailanalog
     Analyzing Other Logs
     Tuning Qmail
     Tuning to Deal with Spam
     Looking at the Mail Queue with qmail-qread

17. Many Qmails Make Light Work
     Tools for Multiple Computers and Qmail
     Setting Up mini-qmail

18. A Compendium of Tips and Tricks
     Qmail Won't Compile
     Why Qmail Is Delivering Mail Very Slowly
     Stuck Daemons and Deliveries
     Mail to Valid Users Is Bouncing or Disappearing
     Mail Routing
     Local Mail Delivery Tricks
     Delivering Mail on Intermittent Connections
     Limiting Users' Mail Access
     Adding a Tag to Each Outgoing Message
     Logging All Mail
     Setting Mail Quotas and Deleting Stale Mail
     Backing Up and Restoring Your Mail Queue

A. A Sample Script

B. Online Qmail Resources

Index

商品描述(中文翻譯)

qmail 已經悄然成為當今互聯網上最廣泛使用的應用程式之一。它的功能強大,足以處理擁有數百萬用戶的系統——如 Yahoo! Mail 和 Hotmail,同時對於最小的 Unix 和 Linux 基礎的 PC 系統來說,仍然保持緊湊和可管理。其組件設計使得擴展和自定義變得簡單,同時保持其關鍵功能的安全,因此 qmail 的採用速度持續加快也就不足為奇了。

缺點?顯然沒有。唯一的問題是,qmail 的獨特設計可能會讓熟悉其他流行的 MTA(郵件傳輸代理)的人感到困惑。例如,如果你是從 sendmail 轉過來的,可能會在用 qmail 的術語重新表述你的問題和解決方案時遇到困難。qmail 首先幫助你建立一個「qmail 的思維框架」,然後探討這個強大的 MTA 的安裝、配置、管理和擴展。無論你是從零開始安裝還是管理擁有數千用戶的郵件列表,qmail 都提供了詳細的信息,告訴你如何讓 qmail 完全按照你的需求運作。

qmail 專注於一些常見任務,例如將 sendmail 設置轉移到 qmail,或設置一個「POP toaster」,這是一個為其他計算機上的大量用戶提供郵件服務的系統,這些用戶可以遠程發送和接收郵件。本書還填補了現有文檔中的關鍵空白,詳細說明了核心 qmail 軟體的功能。

涵蓋的主題包括:
- 安裝和配置,包括修補 qmail
- 從 sendmail 轉移到 qmail
- 處理本地和遠程生成的郵件
- 管理虛擬域
- 記錄 qmail 活動
- 調整 qmail 性能
- 在同一計算機上運行多個 qmail 副本
- 郵件列表的設置和管理
- 將 qmail MTA 與 POP 和 IMAP 傳遞集成
- 過濾垃圾郵件和病毒

如果你需要管理郵件列表、大量郵件,或只是覺得 sendmail 和其他 MTA 太過複雜,qmail 可能正是你所需要的。我們的新指南《qmail》將提供你所需的指導,幫助你建立一個性能良好、合乎邏輯且易於維護的電子郵件基礎設施。

目錄:
前言

第一部分:qmail 簡介
1. 互聯網電子郵件
- 郵件基礎
- 郵件存儲
- 互聯網郵件的結構

2. qmail 的工作原理
- 小程序的協同工作
- 郵件傳輸代理(MTA)的功能
- qmail 的組件

3. 安裝 qmail
- 在哪裡找到 qmail
- 創建用戶和群組
- 配置和製作軟體
- 修補 qmail

4. 熟悉 qmail
- 郵箱、本地投遞和日誌記錄
- 守護進程管理的探討
- 設置 qmail 配置文件
- 啟動和停止 qmail
- 進來的郵件
- Procmail 和 qmail
- 創建地址和郵箱
- 閱讀郵件
- 配置 qmail 的控制文件
- 使用 ~alias
- fastforward 和 /etc/aliases

5. 從 sendmail 轉移到 qmail
- 同時運行 sendmail 和 qmail
- 用戶問題
- 系統問題
- 轉換你的別名文件
- 受信用戶

6. 處理本地生成的郵件
- qmail-queue
- 清理注入的郵件
- 接受來自其他主機的本地郵件
- 區分注入郵件和轉發郵件

7. 接受來自其他主機的郵件
- 接受進來的 SMTP 郵件
- 使用常規 SMTP 守護進程接受和清理本地郵件
- 處理漫遊用戶
- SMTP 授權和 TLS 安全
- POP-before-SMTP

8. 投遞和路由本地郵件
- 發送給本地登錄用戶的郵件
- 郵件排序

9. 過濾和拒絕垃圾郵件和病毒
- 過濾標準
- 過濾位置
- 垃圾郵件過濾和病毒過濾
- 連接時過濾工具
- SMTP 時間過濾工具
- 投遞時間過濾規則
- 組合過濾方案

第二部分:進階 qmail
10. 本地郵件投遞
- qmail 如何投遞本地郵件
- 郵箱投遞
- 程序投遞
- 子地址
- 郵件列表的特殊轉發功能
- 用戶數據庫
- 退信處理

11. 遠程郵件投遞
- 區分本地郵件和遠程郵件
- qmail-remote
- 定位遠程郵件主機
- 遠程郵件故障
- Serialmail

12. 虛擬域
- 虛擬域的工作原理
- 一些常見的虛擬域設置
- 一些虛擬域的細節

13. POP 和 IMAP 伺服器及 POP Toasters
- 每個程序執行一項任務
- 啟動 POP 伺服器
- 測試你的 POP 伺服器
- 建立 POP Toasters
- 使用 IMAP 和網頁郵件接收郵件

14. 郵件列表
- 向列表發送郵件
- 使用 Ezmlm 與 qmail
- 使用其他列表管理器與 qmail
- 發送不完全相同的批量郵件

15. 用戶數據庫
- 如果沒有用戶數據庫
- 創建用戶文件
- qmail 如何使用用戶數據庫
- 典型的用戶設置
- 為特殊目的添加條目

16. 日誌、分析和調整
- qmail 記錄什麼
- 使用 Qmailanalog 收集和分析 qmail 日誌
- 分析其他日誌
- 調整 qmail
- 調整以應對垃圾郵件
- 使用 qmail-qread 查看郵件隊列

17. 多個 qmail 使工作輕鬆
- 用於多台計算機和 qmail 的工具
- 設置 mini-qmail

18. 提示和技巧匯編
- qmail 無法編譯
- 為什麼 qmail 投遞郵件非常緩慢
- 卡住的守護進程和投遞
- 有效用戶的郵件彈回或消失
- 郵件路由
- 本地郵件投遞技巧
- 在間歇性連接上投遞郵件
- 限制用戶的郵件訪問
- 為每封發送的郵件添加標籤
- 記錄所有郵件
- 設置郵件配額和刪除過期郵件
- 備份和恢復你的郵件隊列

A. 範例腳本

B. 在線 qmail 資源

索引