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

Re: policy_bank reports unknown field

From: Christian Schmidt <Christian.Schmidt_at_nospam>
Date: Thu Mar 15 2012 - 09:41:38 GMT
To: amavis-users@amavis.org

Christian Schmidt, 12.03.2012 (d.m.y):

> 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?

No idea? I'll try with a little bit more information:
We're running amavisd-new 2.7.0 on Debian Wheezy amd64, and the lines
quoted above have been added to /etc/amavis/conf.d/50-user.

Gruss/Regards,
Christian Schmidt

-- Q: How do you save a drowning lawyer? A: Throw him a rock.