On Thu, 1 Jul 2004, Paul Murphy wrote:

> Jul  1 10:21:32 adelie mimedefang.pl[32288]: Filter: ,,text/plain, Virus=1
> Jul  1 10:21:32 adelie mimedefang.pl[32288]: Virus: 0, ok, ok,Worm.Plexus.B
> Jul  1 10:21:32 adelie mimedefang.pl[32288]: Filter: ,,text/html, Virus=1
> Jul  1 10:21:32 adelie mimedefang.pl[32288]: Virus: 0, ok, ok,Worm.Plexus.B
> Jul  1 10:21:45 adelie mimedefang.pl[32288]:

[...]

> As you can see, $FoundVirus is set and $VirusName is also set correctly, but
> entity_contains_virus() (and thus entity_contains_virus_clamd) is returning a
> code of 0 and a category of "ok".

Don't use entity_contains_virus() to detect viruses.  The
message_contains_virus() functions scan both the original raw MIME
message and the decoded MIME parts, and are therefore much more reliable.

--
David.
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to