On 11/18/07, Mark Martinec <[EMAIL PROTECTED]> wrote: > On a second thought, preparing a policy bank with required > settings (like suppressing quarantine, special templates, > destiny* settings, ..) and having it pre-configured in the normal > config file, then loaded when needed by a custom hook - could > achieve most if not all of your needs.
Yes, I think I see what you mean. In fact I'd probably have my policy bank definition at the top of my included file that contains the custom hook code, just to keep it all in one place. > Just call: > Amavis::load_policy_bank($some_bank_name) > as needed from a custom hook. Thanks a lot for your help. I'll give it a go now. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/