On Fri, 2008-01-25 at 17:54 -0800, Dennis Peterson wrote: > Karsten Bräckelmann wrote: > > > The main purpose was, to keep ClamAV from scanning the entire, possibly > > large file (err, mail). And maybe even speed it up. It's good practice > > to bound your REs or wildcards anyway. > > > > I wonder, if this indeed would speed up scanning, however small, of > > large-ish files. Or would the additional constraint actually impose more > > CPU cycles spent? > > The sigs are full of unbound RE's. That's why scanning mbox mail files is > pointless.
Yes, I know. I contributed that fact to the thread a while ago... I do realize the ambiguity here -- there is no plural for 'mail'. :) However, I am talking about a *single* mail. If I would have been talking about mbox files, I'd have used that term. Dennis, thanks for your reply. Just doesn't answer the question, unfortunately... ;) guenther -- char *t="[EMAIL PROTECTED]"; 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://lurker.clamav.net/list/clamav-users.html