ClamCour is a Courier filter that allow Clam Antivirus to scan incoming mail for viruses, and rejects it if check is positive.

Requirements:
· ClamAv 0.7.x or better
· Courier-MTA 0.43 or better (Russell Steicke reports that it works with 0.37.3)

Platforms:
ClamCour is a POSIX standard source, so it can be compiled on any BSD system. Anyway, it has been successfully compiled and run on these systems:
· Linux ( tested on my PC! :-P )
· FreeBSD ( too many users has reported that, some of them are listed below )
· OpenBSD & NetBSD ( Cyrille Vladimirov <kiro (at) kircho (dot) net> )

I've successfully compiled it on Solaris, MacOSX, but I need a run-time report :-(

Installation:
· configure
· make
· make install
· type "filterctl start clamcour" ... check your mail log for clamcour activation.

filterctl is a Courier binary, find it in your installation.

Acknowledgements

I'd like to thank:
· Flavio Stanchina <flavio (at) stanchina (dot) net>, for suggesting bugs and solutions.
Thanks to his debugging, multithreading in this release is now stable.
· Federico Baraldi <federico (at) fbaraldi (dot) it>, for "temporary dir" bug and 0.2.1 testing.
· Frederik Dannemare <frederik (at) dannemare (dot) net> for man page and future Debian packages.
· Christophe Greisberger <greisberger (at) zenon-media (dot) com> for suggesting maildrop bug resolved in 0.2.2 version.
· Marat Bakeev <hawara (at) hawara (dot) com> for helping me with a bug that sets a wrong size for sockaddr_un type on some platforms (i.e. FreeBSD).
· Jérôme Blion <jerome (at) hebergement-pro (dot) org> for helping me with dynamic linking of clamav library and for missing #defines.
· Guido Grazioli <guido (dot) grazioli (at) libero (dot) it> for RPM packages.
· Francisco J. Alvarez <fraalv (at) gmail (dot) com> for Solaris SPARC 64-bit platform testing.
· Denis Sorokin <denis (at) sorokin (dot) net> for 0.3.6 testing and bug fixing.
A special thank goes to Marat and Jérôme, that have offered all support that they were able to, and a working server where I was able to do my tests, and produce 0.2.3 release.

Thank you guys, I really appreciate it.