From: Stephane L. <Ste...@an...> - 2003-07-17 15:02:40
|
On Thu, Jul 17, 2003 at 10:51:37AM -0400, Mike Cathey wrote: > On Thu, 2003-07-17 at 10:28, Dan Vande More wrote: > > There was some debate with a gentleman and I about 1.5 months ago about this same thing. > > I didn't care for another daemon to look after, but was not sure which was the best way. > > He seemed confident that the daemon was better able to handle the load. > > Quite honestly, I use the clamscan binary on 130k emails a day without a problem. > > > > It would be interesting to hear what others have to say though. > > I'm using clamd without any problems on 271-320k messages/week. > > ... > Does amavisd-new have a builtin feature that allows it to fallback on > the binary if the daemon dies? I didn't notice this in the config when > I set it up a while ago, but I could have missed it. Someone on > freenode.net/#postfix mentioned that it supported this. > Yes, with recent amavisd-new versions you have 2 variables @av_scanners and @av_scanners_backup The comment in amavisd.conf makes it clear : # If no virus scanners from the @av_scanners list produce 'clean' nor # 'infected' status (e.g. they all fail to run or the list is empty), # then _all_ scanners from the @av_scanners_backup list are tried. # When there are both daemonized and command-line scanners available, # it is customary to place slower command-line scanners in the # @av_scanners_backup list. The default choice is somewhat arbitrary, # move entries from one list to another as desired. Regards, SL/ --- Stephane Lentz Alcanet International, Internet Services |