You should use switching policy_bank
for example
Create policies bank with pre-defined parameters.
$policy_bank{'killAll'} =.
$policy_bank{'AS_BAYES'}=...
in amavisd.conf
In your code, according your function, change policy_bank by
Amavis::load_policy_bank('killAll');
or
Amavis::load_policy_bank('AS_BAYES');
Alexander Wirt a écrit :
> Hi,
>
> is there any option to get access to the SA object in an Amavis::Custom
> module? This would for example allow switching between several rulesets or
> bayes databases.
>
> Thanks in advance
>
> Alex
>
--
David Touzeau -------------------------- Linux Ubuntu 7.04 feisty
FreePascal-Lazarus,perl,delphi,php artica for postfix management console
(http://www.artica.fr) icq:160018849
------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/