Index of /~dev/surgemail/scavs
SCAVS - Surgemail ClamAV Scanner
Requirements:
- Surgemail 1.8g or later, 2.1+ highly recommended
- ClamAV 0.75.1 or later, 0.80+ recommended
- PERL 5.8.x, 5.8.5 recommended
PERL Modules: You may have to install Time::HiRes, some PERL
distributions come with it.
Setting up Surgemail for anti-virus:
Required:
g_virus_filter cmd="/usr/local/bin/bin/scavs.pl" type=""
g_virus_filter_require "FALSE"
Recommended:
g_vpipe_concurrent "12"
g_vpipe_notag "TRUE"
Completely Optional:
g_block_files "*.pif,*.vbs,*.com,*.cmd,*.scr,*.bat"
g_rename_files "*.exe"
g_virus_rename "TRUE"
NOTE: scavs.pl will first look for /usr/local/etc/scavs.conf, if
the file is in a different location you must specify the location
of the config file using the "-c" switch. ie:
scavs.pl -c /etc/scavs.conf
ClamAV:
You can use clamscan or clamdscan (recommended). If using clamscan
you'll have to specify the "--mbox" directive on the command line.
If running clamd/clamdscan you'll have to enable "ScanMail" in the
clamav.conf file. ScanArchive and ScanOLE2 are highly recommended
also.
NOTE: On SCAVS 0.50 or later clamd streams are used. You must
enable the "StreamSaveToDisk" directive in the clamav.conf file if
you wish to support archive scanning.
NOTE: Using ClamAV 0.80, SteamSaveToDisk is no longer needed.
For more info on setting up clamd, see the ClamAV docs.