[Tickets #3942] NEW: Bad SAM mapping of the hit_level attribute.

bugs@bugs.horde.org bugs at bugs.horde.org
Tue May 16 20:04:48 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3942
-----------------------------------------------------------------------
 Ticket             | 3942
 Created By         | omega241 at yandex.ru
 Summary            | Bad SAM mapping of the hit_level attribute.
 Queue              | Sam
 Version            | HEAD
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


omega241 at yandex.ru (2006-05-16 20:04) wrote:

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




More information about the bugs mailing list