Check_bayes() is declared in Bayes.pm. An object of Bayes.pm is made in init() sub of spamassassin.pm but check_bayes() isn't called there.
The 23_bayes.cf file has various configuration for check_bayes() having different min,max defined. Also check_bayes() is passed to register_eval_rule() of Conf.pm. I am not able to connect these dots to get the entry point. On Tue, 18 Jun 2019, 00:40 Shreyansh Shrivastava., < [email protected]> wrote: > I am trying to develop a plugin for a SVM classifier. I intend to make it > similar to the Bayes plugin but I couldn't figure out the entry point for > the check_bayes() subroutine. Can anyone help me with this? >
