On Monday 09 July 2007 12:09, Chuck Swiger wrote:
> On Jul 9, 2007, at 11:33 AM, Thomas Spuhler wrote:
> >> Nope, not really.  That version of MailScanner should have native
> >> clamd
> >> support.  Just start clamd, and tell MailScanner to use clamd, and
> >> the
> >> load will drop to lower than ever levels.
> >
> > I wish Amavis would support clamd. It's in the amavis.conf file but it
> > just doesn't use clamd but uses that backup clamscan and this is a
> > disaster.
>
> Amavisd-new supports clamdscan just fine.  Depending on which example
> config file you started with, it might well be the case that all of
> the virus scanner daemon entries are commented out by default, and
> the admin is expected to uncomment the ones which are actually
> available.

Any suggestion what needs to be uncommneted here: 

--------------------------

@av_scanners = (

# ### http://www.vanja.com/tools/sophie/
# ['Sophie',
#   \&ask_daemon, ["{}/\n", '/var/run/sophie'],
#   qr/(?x)^ 0+ ( : | [\000\r\n]* $)/,  qr/(?x)^ 1 ( : | [\000\r\n]* $)/,
#   qr/(?x)^ [-+]? \d+ : (.*?) [\000\r\n]* $/ ],

# ### http://www.csupomona.edu/~henson/www/projects/SAVI-Perl/
# ['Sophos SAVI', \&sophos_savi ],

 ### http://www.clamav.net/
 ['Clam Antivirus-clamd',
   \&ask_daemon, ["CONTSCAN {}\n", "/var/lib/clamav/clamd.socket"],
   qr/\bOK$/, qr/\bFOUND$/,
   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
 # NOTE: run clamd under the same user as amavisd;  match the socket
 # name (LocalSocket) in clamav.conf to the socket name in this entry
 # When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],
--------------------------



-- 

Thomas

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to