amavis-user March 2012 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: policy_bank reports unknown field

policy_bank reports unknown field

From: Christian Schmidt <Christian.Schmidt_at_nospam>
Date: Mon Mar 12 2012 - 19:01:35 GMT

Hi all,

I'm struggling a bit with this policy_bank definition:

$policy_bank{'SUBMIT'} = {
  originating => 1,
  virus_admin_maps => ["itadmin\@$mydomain"],
  spam_admin_maps => ["itadmin\@$mydomain"],
  spam_kill_level_maps => [7.5],
  #spam_dsn_cutoff_level_maps => [15],
  $final_virus_destiny => D_BOUNCE,
  $final_banned_destiny => D_BOUNCE,
  $final_spam_destiny => D_BOUNCE,

It works fine, but whenever it is actually invoked, amavis complains
about an "unknown field":

amavis[5159]: () (!)loading policy bank "SUBMIT": unknown field "-3"

Which field does it mean?


Christian Schmidt

-- Things will be bright in P.M. A cop will shine a light in your face.