On Mon, Jun 21, 2004 at 12:59:59AM -0400, Jeff Koch wrote: > > The new bayes_sql code is wonderful but we'd like to modify it so that we > can have one bayes sql database for each of several domains we're handling > mail for. Having to add the 'bayes_sql_override_username' preference for > each user and possible aliases is a pain and won't handle email catch-alls. > We'd like to modify the BayesStore code to store and retrieve tokens by > domain name rather than the full email address. Could one of the developers > please let us know if this is do-able and where we would need to do our > mods (which methods).
Subclass Mail::SpamAssassin::BayesStore::SQL and make your changes in the new method. perldoc Mail::SpamAssassin::BayesStore and Mail::SpamAssassin::BayesStore::SQL for more information on what each method is doing, the documentation is fairly good and mostly complete IMHO. Michael