config problem inside policy bank

Patrick Proniewski patrick.proniewski at univ-lyon2.fr
Fri May 22 15:53:17 CEST 2015


Hi,

The parameter is not in dynamic_confvars, but I've found @banned_quarantine_to_maps in legacy_dynamic_confvars.
Does it mean it will disappear in a future release?

regards,
Patrick

> From: Patrick Ben Koetter <p at sys4.de>
> Subject: Re: config problem inside policy bank
> Date: 20 mai 2015 13:10:38 UTC+02:00
> To: amavis-users at amavis.org
> 
> 
> Check dynamic_confvars in your amavisd programm. If the parameter isn't
> part of dynamic_confvars you cannot use it in a policy bank.
> 
> p@
> 
> Am 20.05.2015 um 12:19 schrieb Patrick Proniewski:
>> Hello,
>> 
>> I'm running into a syntax problem in a policy bank. I've defined this: 
>> 
>> $policy_bank{'SMTP'} = {
>>   spam_tag_level_maps  => 2.0,
>>   spam_tag2_level_maps => 6.5,
>>   spam_kill_level_maps => 6.5,
>>   spam_dsn_cutoff_level_maps => 15,
>>   banned_quarantine_to => undef, # no quarantine for users of smtp:25
>> };
>> 
>> But it triggers this kind of log entries:
>> 
>> amavis[37725]: (!)loading policy bank "SMTP": unknown field "banned_quarantine_to"
>> 
>> What is the proper syntax here?
>> I'm using the freebsd pkg amavisd-new-2.9.1_1,1
>> 
>> Thanks,
>> Patrick
> 

Patrick PRONIEWSKI
-- 
Responsable pôle Opérations - DSI - Université Lumière Lyon 2
Responsable Sécurité des Systèmes d'Information



More information about the amavis-users mailing list