spam_kill_level_maps

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed Apr 27 17:35:28 CEST 2016


>>> @sa_tag2_level_maps = (
>>>  {
>>>    'adress1 at example.com'   => 3.0,
>>>    'adress2 at example.com'   => 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.


It is @spam_tag2_level, not @sa_tag2_level_maps.

  @spam_tag2_level = (
   {
     'adress1 at example.com'   => 3.0,
     'adress2 at example.com'   => 3.0,
   },
   \$sa_tag2_level_deflt,
  );


A bit of naming inconsistency for historic/compatibility reasons.

   Mark


More information about the amavis-users mailing list