spam_kill_level_maps

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed Apr 27 01:28:37 CEST 2016


>> The hash-type lookup does not support delayed dereferencing.
>> You should use one of the following two variants:
>> 
>>  @spam_kill_level_maps = (
>>   {
>>     'adress1 at example.com'   => 4.0,
>>     'adress2 at example.com'   => 4.0,
>>     'adress3 at example.com'   => 4.0,
>>     '.' => $sa_tag_level_deflt,
>>   },
>>  );
>> 
>> or (functionally equivalent, but uses a 'constant' lookup
>> table as a fallback):
>> 
>>  @spam_kill_level_maps = (
>>   {
>>     'adress1 at example.com'   => 4.0,
>>     'adress2 at example.com'   => 4.0,
>>     'adress3 at example.com'   => 4.0,
>>   },
>>   \$sa_kill_level_deflt,
>>  );


> Thank you, that worked fine!
> Can one do the same with sa_tag2_level then?
> 
> Like
> 
> @sa_tag2_level_maps = (
>  {
>    'adress1 at example.com'   => 3.0,
>    'adress2 at example.com'   => 3.0,
>  },
>  \$sa_tag2_level_deflt,
> );


Yes, same principles.

   Mark


More information about the amavis-users mailing list