Give them code from Ocr.pm:

-------------------
foreach my $p ( $pms->{msg}->find_parts("image") ) {
my ( $ctype, $boundary, $charset, $name ) =
Mail::SpamAssassin::Util::parse_content_type(
$p->get_header('content-type') );
if ( $ctype eq "image/gif" ) {
open OCR, "|/usr/bin/convert - pnm:-|/usr/bin/gocr -i - > /tmp/spamassassin.ocr.$$";
foreach $p ( $p->decode() ) {
print OCR $p;
-------------------
Does this mean the message must have the text "image" and/or "image/gif" within the body? Many of the "penny stock" spam gifs I get appear as follows:

Should {Fuzzy}OcrPlugin be able to catch this?


<IMG alt="" hspace=0
src="" align=baseline
border=0></FONT></DIV>



Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.

Reply via email to