Can't specify sa_dsn_cutoff_level in a policy bank?

Mark Martinec Mark.Martinec+amavis at ijs.si
Wed Nov 23 20:48:47 CET 2011


TimH,

> I'm trying to set a different sa_dsn_cutoff_level in a policy bank like so:
> 
> $policy_bank{'ORIGINATING'} = {
>   originating => 1,
>   bypass_spam_checks_maps => [0],
>   final_spam_destiny => D_BOUNCE,
>   sa_dsn_cutoff_level => 13,
>   virus_admin_maps => ["virusalert\@$mydomain"],
>   spam_admin_maps  => ["virusalert\@$mydomain"],
>   spam_kill_level_maps => [7.0],
>   bypass_banned_checks_maps => [1],
>   terminate_dsn_on_notify_success => 0,
>   };
> 
> However, I am getting this in my mail log:
> 
> amavis[17896]: () (!)loading policy bank "ORIGINATING": unknown field
> "sa_dsn_cutoff_level"
> 
> How does one change this in a policy?

Use this instead:

  spam_dsn_cutoff_level_maps => [ 13 ],


Mark


More information about the amavis-users mailing list