I cant take credit for the code, myself... I may have merely quoted it in a post. The original code was posted by Tomasz Ostrowski.
Ken -----Original Message----- From: Joseph Brennan [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 1:14 PM To: [EMAIL PROTECTED] Subject: RE: [Mimedefang] JPEG exploit checking in mimedefang-filter Reference to Ken Cormack's filter code, Sep 28, using djpeg to diagnose success or fail... > my($code, $category, $action) = > run_virus_scanner( "djpeg -fast -dither none > -grayscale -scale 1/8 -outfile /dev/null $path" ); We find that jpg attachments in mail sent with the OSX Mail program fail this test, quite a lot, maybe all the time. I'm going to be looking into it. If anyone else is ahead of me on a solution please say so. Joseph Brennan Academic Technologies Group, Academic Information Systems (AcIS) Columbia University in the City of New York _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

