On 2016-04-27 01:28, Mark Martinec wrote:
>>> The hash-type lookup does not support delayed dereferencing.
>>> You should use one of the following two variants:
>>>
>>>  @spam_kill_level_maps = (
>>>   {
>>>     '[email protected]'   => 4.0,
>>>     '[email protected]'   => 4.0,
>>>     '[email protected]'   => 4.0,
>>>     '.' => $sa_tag_level_deflt,
>>>   },
>>>  );
>>>
>>> or (functionally equivalent, but uses a 'constant' lookup
>>> table as a fallback):
>>>
>>>  @spam_kill_level_maps = (
>>>   {
>>>     '[email protected]'   => 4.0,
>>>     '[email protected]'   => 4.0,
>>>     '[email protected]'   => 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 = (
>>  {
>>    '[email protected]'   => 3.0,
>>    '[email protected]'   => 3.0,
>>  },
>>  \$sa_tag2_level_deflt,
>> );
> 
> 
> Yes, same principles.

Hm, the above gave me:

Error in config file "/usr/local/etc/amavisd.conf": Global symbol
"@sa_tag2_level_maps" requires explicit package name at
/usr/local/etc/amavisd.conf line 129.

Reply via email to