//  
BlueQuartz.US Forum Index HOME
BlueQuartz.US
Open Source Info for Open Source Users
RegisterRegister 
MemberlistMemberlist
UsergroupsUsergroups
FAQFAQ   
SearchSearch
SubscriptionsSubscriptions
ProfileProfile   
Private messagesPrivate messages   
Log inLog in 
Are You Paying More Than Wholesale For Your Names?   Join the Hottest Domain Name Reseller Program Around!

 
Post new topic   Reply to topic    BlueQuartz.US Forum Index -> Spamassassin Developers
 ImageInfo plugin Previous Topic
Next Topic
Message Author
PostPosted: Tue Mar 09, 2010 8:34 am    
Subject: ImageInfo plugin
Reply with quote  
Daniel Lemke

Is there a reason why the “latest” (2007-01-17) version of ImageInfo plugin is not part of the SA source?




----------------------------------------------------
JAM Software GmbH
Geschäftsführer: Joachim Marder
Max-Planck-Str. 22 * 54296 Trier * Germany
Tel: 0651-145 653 -0 * Fax: 0651-145 653 -29
Handelsregister Nr. HRB 4920 (AG Wittlich) http://www.jam-software.de
Back to top
PostPosted: Tue Mar 09, 2010 3:47 pm    
Subject: ImageInfo plugin
Reply with quote  
Kevin A. McGrail

On 3/9/2010 8:34 AM, Daniel Lemke wrote:
Quote:
<![endif]--> <![endif]-->
Is there a reason why the “latest” (2007-01-17) version of ImageInfo plugin is not part of the SA source?

I have not researched this but I would guess a bug was never opened for this purpose or it was just a CLA/Licensing issue. Overall, the changes appear straightforward with the major addition being the image_name_regex. I've reviewed the code and create a diff patch.

Dallas, could you open a bug to update this?

Quote:
From reviewing the rules and the code, the attached patch and these additional rules are the differences for consideration which you could add as patches.

# double dot gifs (from Kevin)
body CG_DOUBLEDOT_GIF eval:image_name_regex('/^\w{2,9}\.\.gif$/')
describe CG_DOUBLEDOT_GIF Double dotted image name
score CG_DOUBLEDOT_GIF 1.4

# emails containing pictures from digital cameras (from Kevin)
# although i think most of these images will be >256kb (unless they
# have been post-processed) so SA probably isnt scanning them.

# Nikon/Sony: DSC00001.JPG
body CG_SONY_JPG eval:image_name_regex('/^DSC\d{5}\.JPG$/')
describe CG_SONY_JPG Looks like a Sony/Nikon digital camera shot
score CG_SONY_JPG -0.1

# Fuji: DSCF0001.JPG
body CG_FUJI_JPG eval:image_name_regex('/^DSCF\d{4}\.JPG$/')
describe CG_FUJI_JPG Looks like a Fuji digital camera shot
score CG_FUJI_JPG -0.1

# Canon: BODY0001.JPG
body CG_CANON_JPG eval:image_name_regex('/^\w{4}\d{4}\.JPG$/')
describe CG_CANON_JPG Canon's semi random image names
score CG_CANON_JPG -0.1

regards,
KAM
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BlueQuartz.US Forum Index -> Spamassassin Developers All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group