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.
