Providing reliable services since 2001

Custom Search

23 Feb 2012 06:17 am GMT +8

Home > Resources > Scripts & Patches > Mailfront Plugin SpamAssassin Patch

Introduction
This is a patch to enable fail safe feature for mailfront SpamAssassin plugin. This plugin scans messages against a SpamAssassin server. The original message is replaced with the rewritten message sent by the scanner, which will contain the results of the SpamAssassin scan in the headers. This plugin can communicate with a scanner over TCP/IP or local UNIX domain sockets.

Note: This plugin causes mailfront to save messages to temporary files.

When the SpamAssassin server is unavailable, this plugin will defer all mails at SMTP delivery including authorized users until the SpamAssassin server is restored. This patch will give the system administrators the flexibility to enable fail safe for this plugin by setting the environment variable SPAMD_FAILSAFE. If this environment variable is set and when the SpamAssassin server is unavailable, mails will be passed and warning messages will be logged.


Disclaimer

YOU ARE FREE TO USE THIS SCRIPT/PATCHES/GUIDE BUT I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED! YOU HAVE BEEN WARNED!!!


Changes
07 Apr 2010 GMT +8
Updated to support mailfront-1.16
05 Apr 2010 GMT +8
Initial release for mailfront-1.15

Patch

How to apply the above patch?
1. Download the mailfront-1.16 source then unpack the source:

2. Then download my patch:

3. Patch the source:

4. Configure and compile and install as usual which I am not going to cover here.


All trademarks, trade names, service marks and logos referenced herein belong to their respective companies.

Copyright © 2001 - 2009, CHOON.NET. All rights reserved.