At 02:25 PM 1/27/2004, Jim McCullars wrote:
So I guess the answer is in filter(), just change the order of the
virus scan and the bad_ext check, but leave the code in filter_begin()
alone.

Alternatively, remove the calls in filter_begin, then entity_contains_virus out of the "if ($FoundVirus)" block. On one hand,
you do scan each entity individually. On the other, you don't scan anything that you're already deleting.


Kelson Vibber
SpeedGate Communications <www.speed.net>



_______________________________________________ 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