Benny Pedersen schrieb am Thursday, den 05. June 2008: > > On Thu, June 5, 2008 08:44, Alexander Wirt wrote: > > > I needed the feature to change spamassassin rules on a per policy-bank base. > > So I created the attached patch, it would be nice if it can get integrated > > into the next amavisd version. Just two notes: > > nice patch, i have one question > > can this olso make pr recipient bayes from amavisd when bayes is in sql ? > > if so i like have the plugin Basically that should be possible. The plugin is a dirty hack that makes administrative options non-administrative. This can be done with any option. Especially with bayes_sql_override_username which should do the trick.
I never said its nice or anything else. But it works :). I hacked together a version that can override bayes_sql_override_username. Just add o_bayes_sql_override_username into your policy based SA config. This is untested stuff, so please take care and use debugging output to verify if its working. Hmmm, after looking into Conf.pm I saw that bayes_sql_override_username is not flagged as an administrative command. So maybe you don't need the plugin. Anyway look here: http://ned.snow-crash.org/~formorer/O_Bayes_SQL_Override_username.pm Alex ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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/
