Hi I am running SA from within MailScanner.
I am currently running a patch that allow me to overide the Bayes username so that each domain that is processed has it's own bayes database. The patch works like this $Test= new Mail::SpamAssassin(%settings); $Test->{conf}->{bayes_sql_override_username}=$override; $mail = $Test->parse($Mail, 1); $spamness = $Test->check($mail); This is working well and I have not had any problems however, I am concerned that this isn't using the API so I changed this to use the signal_user_change. $Test= new Mail::SpamAssassin(%settings); $Test->signal_user_changed([{username=>$override}]); $mail = $Test->parse($Mail, 1); $spamness = $Test->check($mail); This doesn't work - the same messages are getting no rule hits etc. Any suggestions on a way forward? cheers Matt