On 2009-03-05 11:40, Steve Basford wrote: >> On 2009-03-05 00:09, Bill Landry wrote: >> > > >> clamscan only uses the hardcoded database directory by default, it >> doesn't look at your clamd.conf settings. >> > > Hi Edwin, > > Just a quick question.. if you use this command it loads *just* the clamav > databases fine... > > clamscan c:\tmp\test.eml --database=d:\clamav\data > > If I user this, it loads *just* the Sanesecurity sigs: > > clamscan c:\tmp\test.eml --database=d:\clamav\sigs_rsync > > But, this command doesn't seem to work, only loads *just* the Sanesecurity > ones... > > clamscan c:\tmp\test.eml --database=d:\clamav\data > --database=d:\clamav\sigs_rsync > > Would it be possible to have multiple databases on the command line, or > load a list of databases you want to use from a file? >
Currently no, clamd doesn't allow you to specify multiple DBdirs either. There would be a problem with multiple database directories, because local.ign, daily.c[vl]d/daily.ign, and daily.c[vl]d/daily.cfg *must* be loaded first. With a single database directory, the engine ensures this, with multiple directories it can't, and it would be up to you to ensure that the dir containing the daily.cvd and your local.ign comes first. I think that would be too complicated, given the alternative: you could symlink or copy all databases into a single directory. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml