Alan Schwartz

  • 出版商: O'Reilly
  • 售價: $1,180
  • 貴賓價: 9.5$1,121
  • 語言: 英文
  • 頁數: 207
  • 裝訂: Paperback
  • ISBN: 0596007078
  • ISBN-13: 9780596007072
  • 海外代購書籍(需單獨結帳)





The annoyance factor for individual users whose email is crammed with pitches for pornography, absurd moneymaking schemes, and dubious health products is fierce. But for organizations, the cost of spam in lost productivity and burned bandwidth is astronomical. While society is grappling with a solution to the burgeoning crisis of spam proliferation, the pressure is on system administrators to find a solution to this massive problem in-house. And fast.

Sys admins can field scores of complaints and spend months testing software suites that turn out to be too aggressive, too passive, or too complicated to setup only to discover that SpamAssassin (SA), the leading open source spam-fighting tool, is free, flexible, powerful, highly-regarded, and remarkably effective. The drawback? SpamAssassin's lack of published documentation.

SpamAssassin by Alan Schwartz, is the only published resource devoted to SpamAssassin and how to integrate it effectively into your networks. This clear, concise guide clarifies the installation, configuration, and use of the SpamAssassin spam-checking system (versions 2.63 and 3.0) for Unix system administrators using the Postfix, Sendmail, Exim, or qmail mail servers, helping administrators make the right integration decision for their particular environments.

It covers concrete advice on how to:

  • Customize SpamAssassin's rules, and even create new ones Train SpamAssassin's Bayesian classifier, a statistical engine for detecting spam, to optimize it for the sort of email that you typically receive
  • Block specific addresses, hosts, and domains using third-party blacklists like the one maintained by
  • Whitelist known good sources of email, so that messages from clients, coworkers, and friends aren't inadvertently lost.
  • Configure SpamAssassin to work with newer spam-filtering methods such as Hashcash ( and Sender Policy Framework (SPF).

Sys admins, network administrators, and ISPs pay for spam with hours of experimentation and tedious junk email management, frayed user tempers, and their sanity. SpamAssassin, together with this essential book, give you the tools you need to take back your organization's inboxes.

"Detailed, accurate and informative--recommended for spam-filtering beginners and experts alike." --Justin Mason, SpamAssassin development team


Table of Contents:


1. Introducing SpamAssassin

     How SpamAssassin Works

     Organization of SpamAssassin

     Mailers and SpamAssassin

     The Politics of Scanning

2. SpamAssassin Basics


     Building SpamAssassin

     Invoking SpamAssassin with procmail

     Using spamc/spamd

     Invoking SpamAssassin in a Perl Script

     SpamAssassin and the End User

3. SpamAssassin Rules

     The Anatomy of a Test

     Modifying the Score of a Test

     Writing Your Own Tests

     The Built-in Tests

     Whitelists and Blacklists

4. SpamAssassin as a Learning System


     Bayesian Filtering

5. Integrating SpamAssassin with sendmail

     Spam-Checking at Delivery

     Spam-Checking During SMTP

     Building a Spam-Checking Gateway

6. Integrating SpamAssassin with Postfix

     Postfix Architecture

     Spam-Checking During Local Delivery

     Spam-Checking All Incoming Mail

     Building a Spam-Checking G ateway

7. Integrating SpamAssassin with qmail

     qmail Architecture

     Spam-Checking During Local Delivery

     Spam-Checking All Incoming Mail

     Building a Spam-Checking Gateway

8. Integrating SpamAssassin with Exim

     Spam-Checking via procmail

     Spam-Checking All Incoming Mail

     Using Routers and Transports

     Using exiscan

     Using sa-exim

     Building a Spam-Checking Gateway

9. Using SpamAssassin as a Proxy

     Using Pop3proxy

     Using SAproxy Pro






《SpamAssassin》是Alan Schwartz撰寫的唯一一本關於SpamAssassin及其如何有效整合到您的網絡中的出版資源。這本清晰、簡潔的指南澄清了Unix系統管理員在使用Postfix、Sendmail、Exim或qmail郵件服務器時安裝、配置和使用SpamAssassin垃圾郵件檢查系統(版本2.63和3.0)的過程,幫助管理員為他們特定的環境做出正確的整合決策。

- 自定義SpamAssassin的規則,甚至創建新的規則
- 訓練SpamAssassin的貝葉斯分類器,一種用於檢測垃圾郵件的統計引擎,以優化其對您通常接收的郵件類型的檢測
- 使用Spamcop.net等第三方黑名單阻止特定地址、主機和域名
- 將已知的良好郵件來源列入白名單,以避免意外丟失來自客戶、同事和朋友的郵件
- 配置SpamAssassin與Hashcash(和Sender Policy Framework(SPF)等新的垃圾郵件過濾方法一起使用


1. 介紹SpamAssassin
- SpamAssassin的工作原理
- SpamAssassin的組織架構
- 郵件服務器和SpamAssassin
- 掃描的政策
2. SpamAssassin基礎知識
- 先決條件
- 構建SpamAssassin
- 使用procmail調用SpamAssassin
- 使用spamc/spamd
- 在Perl腳本中調用SpamAssassin
- SpamAssassin和最終用戶
3. SpamAssassin規則
- 測試的結構
- 修改測試的分數
- 編寫自己的測試
- 內置測試
- 白名單和黑名單
4. SpamAssassin作為學習系統
- 自動白名單
- 貝葉斯過濾
5. 將SpamAssassin與s整合