IceWarp forums have moved: http://forum.altair7.org

Mail Server Content Filter

Version 2.3.7 released 18 July 2004.

This software provides the ability to filter all SMTP email traffic handled by a supported Mail Server software package. By defining a combination of rules that consist of tests for matching strings within the header or body of an email using Regular Expressions, an action can be taken against that email. Actions possible include the rejection of the email such that the sending SMTP client receives a delivery error immediately, logging and/or capture of the email contents separately from the SMTP delivery process, or updating information in the header of the email prior to its delivery through the SMTP server.

Separate groups of rules can be applied based upon such criteria as the SMTP client IP address, the recipients domain, or the recipients email address. Through a flexible and extensible configuration system it is possible to use this software in a multi-domain environment, providing for domain-level or user-level control over the filtering process such that the domain owner or individual user can self-configure the rules to their individual requirements with minimal intervention on the part of the server administrator(s).

This content filter is readily ported to any mail server system that provides sufficient hooks to intercept incoming SMTP mail before it is delivered. At this time it supports Merak Mail, Microsoft Exchange 2000 and Communigate Pro (Windows version only).

The software includes a number of sample configurations that can be used as-is to block a significant amount of SPAM email.

The documentation is MINIMAL at this point. If you are familiar with the previous version of the RegEx filter, much of the concept will be familiar to you, however all configuration information is now stored in XML format. Almost all functionality from the prior version is present in this one, plus quite a few new features, and the potential for many more. Not all the new features are complete, but where there are limitations, they should be noted in the documentation. The sample XML configuration files are the exact ones I am presently using on two servers for more than 7 months. These should at least provide a starting point for becoming familiar with the new format.

Your input is greatly appreciated, and will likely be the main motivation I have for working on this over the next few months, since I still really have very little free time to pursue this project. Feel free to ask questions, make suggestions, and point out problems. If you have any suggestions for how to go about documenting this for a new user, it would be even more greatly appreciated as that is the primary weak point right now. You can reach me at doug@2150.com.

The Configuration File Reference is a simple guide to all the XML tags that can exist in the configuration file and what they do. There is no overview to acquaint you with the whole concept. Installation instructions are included in the downloadable package.

Configuration File Reference

Download Content Filter

 

AntiVirus Filter DLL

Information about the AntiVirus Filter DLL can be found at http://www.2150.com/antivirusfilter/.

 

Write Your Own Filter DLL

Interested in writing your own filter DLL for Merak Mail? Download this sample Microsoft Visual C++ .NET project for an example filter that provides all the basic parsing of information from Merak Mail's new MerakFilterProc2 interface as well as backward compatibility with the original MerakFilterProc interface.