> > I made the filter you showed me and afterwards I sent a mail to myself 
> > attaching the EICAR virus test, but it wasn't detected by ClamAv.
> > Maybe I made some mistakes in the procedure.
[...]

> I did the same yesterday but it works for me. The filer I'm using is set
> so:
> In incoming section:
> IF:
> pipe to program | /usr/bin/clamscan --quiet - | return | 1
> THEN:
> Move to | directory you want

A quick note which I unfortunately forgot to mention in the original
post to the ClamAV list as well:

Add a second action to the THEN part, namely "Stop Processing".


In fact, when setting up filters you always should take care to add
"Stop Processing" as last action to *any* filter that is meant to be a
final filter. After moving a mail, you most likely do not want any other
(later) filter to match on this mail, too.

Failing this has caused confusion in the past, and always will...


> you should first detect where clamscan is. From a terminal you can do it
> with:
> $ which clamscan
> Important is the "-" sign at the end of the field pipe to program.
> Hope this helps you,

Yup, it is. Good catch, Nicola. :)

If you are going to use an external program, you sure should be familiar
with it, or at least know how to pipe the mail to it.

...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; }}}

_______________________________________________
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to