Alex, > is there any option to get access to the SA object in an Amavis::Custom > module?
Access to the SA object from Amavis::Custom is not available presently without hacking code a bit. > This would for example allow switching between several rulesets or > bayes databases. > > You should use switching policy_bank > I know, I have such things in place. But you can't do everything from a > policybank. Especially nothing rule based (see my patch for amavis posted > last year). Names of loaded policy banks are made available to SpamAssassin through a header field X-Amavis-PolicyBank. Rules can be added to take advantage of this information and adjust the score, or by using meta rules conditionalize other rules. See RELEASE_NOTES, search for X-Amavis-PolicyBank Mark ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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/
