On Mon, 2009-09-14 at 17:27 +0200, Wolfgang Breyha wrote:
> I'm running clamd with both official and sanesecurity sigs.
> 
> Now I made a test with my virus archive and recognized that clamd prefers the
> sanesecurity sigs. Using only ClamAV original sigs I have ~3500 virus matches.
> Using both original and sanesecurity sigs ~3900 are found, but the originals
> only match ~2000 anymore and all the others are catched by sanesecurity rules.
> 
> Since I want to block mail found by the original rules und mark mails for
> spamassassin found by sanesecurity this is really bad.
> 
> Is there any way to set kind of priority which of the rules are preferred?

I once asked a related question. The answer was along the lines, that it
is unpredictable which sig(-set) will fire, and there is no way to
define preferences or order of matches. With a single clam instance,
that is.

  guenther

-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to