>From where do I obtain imageinfo.cf?

Warm Regards,
Suhas
System Admin
QualiSpace - A QuantumPages Enterprise
===========================
Tel India: +91 (22) 6792 - 1480
Tel US: +1 (614) 827 - 1224
Fax India: +91 (22) 2530 - 3166
URL: http://www.qualispace.com 
===========================
For Any Technical Query Please Use: http://helpdesk.qualispace.com 
QualiSpace Community Discussion forum: http://forum.qualispace.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dallas Engelken
Sent: Tuesday, October 17, 2006 7:27 PM
To: This list is for discussion of SpamAssassin rules emporium.
Subject: Re: [Sare-users] ImageInfo.pm and config files

Kevin Golding wrote:
> In article <[EMAIL PROTECTED]>, Dallas Engelken
> <[EMAIL PROTECTED]> writes
>   
>> i believe someone provided the details for making it work on 3.0.x a 
>> while back on this list.  i cant find the damn email now.  maybe they 
>> will chime in.
>>
>> or maybe Doc can take a look at the archive?  It was sometime in 
>> August.. maybe september.
>>     
>
> I'm neither Doc or Moses but....
>
> In article <[EMAIL PROTECTED]
>   
>> , Moses Moore <[EMAIL PROTECTED]> writes
>>
>> I'm using spamassassin v3.0.4 (comes with Fedora Core 4) and I had to
>> make the following changes:
>>
>> in ImageInfo.pm:
>>
>> remove the "use Mail::SpamAssassin::Logger" line
>> add "sub dbg { Mail::SpamAssassin::dbg (@_); }" before the last line.
>>
>> in imageinfo.cf:
>> parameters for the eval:xxx() subroutines must be quoted.
>>
>> body __GIF_ATTACH_1    eval:image_count('gif','1','1')
>> body __GIF_ATTACH_4P   eval:image_count('gif','4')
>> body __GIF_AREA_180K   eval:pixel_coverage('gif','180000','400000')
>> body __PNG_ATTACH_1    eval:image_count('png','1','1')
>> body __PNG_ATTACH_4P   eval:image_count('png','4')
>> body __PNG_AREA_180K   eval:pixel_coverage('png','180000','400000')
>>
>> ... after this, it works as advertised. The OCR plugin can be defeated by

>> partitioning the image into smaller and smaller jigsaw-pieces, but the 
>> pixel_coverage() routine can measure the size of the total image area.
This, 
>> in concert with other rules, will really help.  Well done, Mr. Engelken.
>>     
>
> I'd have to agree.  ImageInfo is still catching a lot of these things
> without adding the overhead of OCR.  Good work indeed.
>
>   

Thanks for finding that!

-- 
Dallas Engelken
[EMAIL PROTECTED]
http://uribl.com

_______________________________________________
This is being sent to: [EMAIL PROTECTED]
Sare-users mailing list
[EMAIL PROTECTED]
http://lists.maddoc.net/mailman/listinfo/sare-users



Reply via email to