I believe if you look at a default mimedefang filter, you can get more info on how DFS involved SpamAssassin with the sql preferences.
On 2/6/2020 7:35 AM, Henrik K wrote: > On Thu, Feb 06, 2020 at 05:19:54AM -0700, hwi wrote: >> First of all, thanks for the quick responses. >> I use a small perlscript with preforked-workers that user Mail::SpamAssassin >> etc. >> The worker is spawned once at startup an then checks mails one after another >> without being respawned. > SQL prefs is only a spamd feature, so you would need to copy similar code to > your own implementation (search for load_scoreonly_sql in spamd and > SpamAssassin.pm). Spamd applies handle_user_sql->load_scoreonly_sql for > each scan do it's dynamic. > -- Kevin A. McGrail [email protected] Member, Apache Software Foundation Chair Emeritus Apache SpamAssassin Project https://www.linkedin.com/in/kmcgrail - 703.798.0171
