SpamAssassin
A practical guide to integration and configuration

Packt Publishing


 

HOME > CHAPTER 14

Chapter 14;
Performance

Performance, to some extent, depends on the user's needs and expectations. It includes many variables and parameters, and each site may have a different comfort level and different optimums. One system administrator may be satisfied with a 30-second delay during spam filtering, and another may find this unacceptable, but will tolerate a 15-second delay. When processing email, overnight delays of a few minutes may be acceptable, but during the working day, users may discuss emails in telephone conversations and expect them to arrive within seconds. In cases where emails fail to be delivered, or spam filtering does not occur due to system load, then performance is undoubtedly a major problem. There is a trade-off between thoroughness and time to process.

This chapter describes how to identify performance bottlenecks and provides several solutions for different situations.

  • Chapter 14: Table of Contents:

    • Bottlenecks

      • Memory

        • CPUs

      • Disk I/O

        • Network I/O

      • Determining Bottlenecks

    • Performance Improvement Methodology

      • Using the SpamAssassin Daemon

      • Integrating SpamAssassin into the MTA

      • Omitting Messages

        • Large Messages

      • Disabling Tests

      • Running Network-Based Tests First

        • Razor, Pyzor, and DCC

      • Using Additional Machines

      • Faster File Locking

    • Using SQL

      • Requirements

      • MySQL

        • Configuration

      • Spamd with SQL

      • SQL for User Preferences

        • Adding New User Preferences

        • Displaying User Preferences

        • Altering User Preferences

        • Deleting User Preferences

        • Testing if SQL User Preferences Are Being Used

        • Preference Precedence

      • SQL for Bayesian Databases

        • Testing if the SQL Bayesian Database Is Being Used

      • The Auto-Whitelist Database

        • Testing if the SQL Auto-Whitelist Database Is Being Used

    • Summary

BOOK DETAILS
  Paperback, 220 pages
Released: Sept 2004
ISBN: 1904811124
Author: Alistair McDonald
 
 

TABLE OF CONTENTS

Intro
1. Introducing Spam
2. Spam and Anti-Spam Techniques
3. Open Relays
4. Protecting Email Addresses
5. Detecting Spam
6. Installing SpamAssassin
7. Configuration Files
8. Using SpamAssassin
9. Bayesian Filtering
10. Look and Feel
11. Network Tests
12. Rules
13. Improving Filtering
14. Performance
15. Housekeeping and Reporting
16. Building an Anti-Spam Gateway
17. Email Clients
18. Choosing other Spam Tools
Appendix A
Index

 




View the book details
on PacktPub.com

 

 

  This website is owned and maintained by Packt Publishing Ltd, 2004. All rights reserved. Terms and Conditions