Scanning mails from Exim4 through ClamAV on Debian Sarge

This article was first written in November 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/299).
The following has been tested on Debian Sarge, but may work with later versions. Follow this procedure if you refused to split the Exim4 configuration as debconf proposes. If you did split it, it would be slightly different.

On-access Virus Scan

This article was first written in January 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/200).
On a Linux server, to scan files on access using ClamAV, you can use Clamuko or, if using Samba to access it, use samba-vscan.