Bill Cole wrote on 22/03/24 8:36 am:

It seems to me that it would require extension of the spamc/spamd protocol and 
cargo-culting some code from spamassassin to spamd.

Doesn't look like much cargo-culting to do. The spamassassin script just calls a function in Mail::SpamAssassin.pm for each of the options, where everything gets done. Unless I missed something it will just be adding the options to the protocol and having spamd do the right call to a function in $spamtest passing in $mail instead of where it calls

  my $status = Mail::SpamAssassin::PerMsgStatus->new($spamtest, $mail);
  $status->check();

Reply via email to