Index of /~dev/surgemail/scavs
SCAVS - Surgemail ClamAV Scanner
- 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:
g_virus_filter cmd="/usr/local/bin/bin/scavs.pl" type=""
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
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
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.