Providing reliable services since 2001

Custom Search

10 Mar 2010 09:13 am GMT +8

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

Introduction
This is a patch to enable fail safe feature for mailfront clamav plugin. This plugin scans messages against a ClamAV server. If the message data is detected as having a virus, the message is rejected, and the error response contains the virus name as detected by ClamAV. This scanner only operates over TCP/IP sockets (either remotely or locally).

When the ClamAV server is unavailable, this plugin will defer all mails at SMTP delivery including authorized users until the ClamAV server is restored. This patch will give the system administrators the flexibility to enable fail safe for this plugin by setting the environment variable CLAMAV_FAILSAFE. If this environment variable is set and when the ClamAV 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
14 Aug 2009 GMT +8
Initial release for mailfront-1.12

Patch

How to apply the above patch?
1. Download the mailfront-1.12 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.