title: SpamAssassin: A Practical Guide to Integration and Configuration
author: Alistair McDonald
description: Alistair McDonald is a freelance IT consultant based in the UK. He has worked in IT for over 15 years and specializes in C++ and Perl development and IT infrastructure management. He is a strong advocate of open source, and has strong cross-platform skills. He prefers vim over vi, emacs over Xemacs or vim, and bash over ksh or csh. He is very much a family man and spends as much time as possible with his family enjoying life.
zlib_text: 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #
  
  
  **Starting Guide for Postfix Mail Server Configuration Supporting Anti Spam
  and Anti Virus**
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  **By**
  
  
  
  
  
  
  
  
  **Dr. Hidaia Mahmood Alassouli**
  
  
  
  
  
  
  
  
  **Hidaia_alassouli@hotmail.com**
  
  
  
  
  
  #  
  
  
  
  
  
  # 1\. Introduction:
  
  
  
  
  
  This work provides starting guide for simple Postfix mail server
  configuration. Then I configured the Postfix mail server to support Anti-Spam
  and Anti-Virus, using two methods.
  
  
  
  
  
  * Method 1: With Postfix, SpamAssassin, ClamAV and Amavis-new
  
  
  * Method 2: With Postfix, SpamAssassin, ClamAV and Procmail
  
  
  
  
  
  
  
  
  The report includes the following sections
  
  
  1\. How Postfix receives mail:
  
  
  2\. How Postfix delivers mail
  
  
  3\. Starting guide for quick Postfix configuration
  
  
  4\. Postfix mail server and Dovecot configuration
  
  
  5\. Installing ClamAV and SpamAssassin
  
  
  6\. Installing and configuring Squirrelmail:
  
  
  7\. Method 1 to support Antivirus and Antispam: Using Postfix, Amavis-new,
  ClamAV, SpamAssassin
  
  
  8\. Method 2