6.0.0-beta1
9/24/25

[#3942] Bad SAM mapping of the hit_level attribute.
Summary Bad SAM mapping of the hit_level attribute.
Queue Sam
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester omega241 (at) yandex (dot) ru
Created 05/17/2006 (7070 days ago)
Due
Updated 05/17/2006 (7070 days ago)
Assigned
Resolved 05/17/2006 (7070 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/17/2006 01:39:42 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
05/17/2006 03:04:47 AM omega241 (at) yandex (dot) ru Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Bad SAM mapping of the hit_level attribute.
Queue ⇒ Sam
Reply to this comment
File: sam/config/attributes.php.dist

Desc: Seems to be misprint in  SpamAssassin 3+ attributes



// For SpamAssassin 2.x

// Comment or remove the score_level attribute if you use this.

$_attributes['hit_level'] = array(

     'label' => _("Hit Level"),

     'type' => 'number',

     'required' => true,

);



// For SpamAssassin 3+

// Comment or remove the hit_level attribute if you use this.

//$_attributes['score_level'] = array(

//    'label' => _("Required Score"),

//    'type' => 'number',

//    'required' $_attributes['hit_level'] = array(

//);



File: sam/lib/Driver/spamd.php

Desc: For correct work with SpamAssassin 3+ need to add  'score_level' to

SAM_Driver_spamd->_capabilities array



sam-HEAD-2006-05-15.tar.gz

Saved Queries