Solved:
When Mail::SpamAssassin is used directly in homebrew Perl code without spamc
there is a simple way to load configuration dynamically during runtime:
This loads whitelists blacklists etc. from a file.
Similar functions are also available for SQL an LDAP sources for config. In
this case the configs for
/$spamChecker->read_scoreonly_config ("some_config.cf");/
Maybe you want to reset any loaded userprefs before the next userprefs is
loaded:
/$spamChecker->signal_user_changed( { username => 'someuser' } );/
This is the way spamd does the trick. If more steps necessary show up I'll
tell you.
These functions are documented in the Mail::SpamAssassin manpage:
https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin.html
Thanks everybody for the help
H. Wilhelm
--
Sent from:
http://spamassassin.1065346.n5.nabble.com/SpamAssassin-Dev-f69836.html