[Mimedefang] best way to access SA's PerMsgStatus
David F. Skoll
dfs at roaringpenguin.com
Tue Feb 21 14:13:58 EST 2006
Gary Schrock wrote:
> I had actually looked through that, although I have to admit, it did
> leave me wondering. I may be misinterpreting things here (quite
> probably), but my guess is if I was using that, I'd want to remove the
> calls already in the filter to spam_assassin_check, and do the check
> entirely myself, otherwise it'd be running the tests again?
Exactly. You do something like:
my ($per_msg_status);
$per_msg_status = spam_assassin_status($optional_config_file);
# Do whatever you need with $per_msg_status and then...
$per_msg_status->finish();
Regards,
David.
More information about the MIMEDefang
mailing list