Hi, On Wed, 29 Sep 2004 [EMAIL PROTECTED] wrote:
> http://bugzilla.spamassassin.org/show_bug.cgi?id=3848 > [...] > ------- Additional Comments From [EMAIL PROTECTED] 2004-09-29 12:48 ------- > Mail/SpamAssassin/NoMailAudit.pm is no longer supported in SA 3.0.0 -- you > have > an older version of amavisd that is not supported by 3.0.0. you need to > upgrade > amavisd to the more recent versions which support SA 3.0.0. I'm putting the finishing touches on the initial draft of Text::SpamAssassin (formerly Blog::SpamAssassin) in preparation of posting it to CPAN. If I wanted to analyzed a message using either SA 2.6x or 3.x, what do I use to encapsulate that message aside from Mail::SpamAssassin::NoMailAudit? That is, how do I have to change: ---- $self->{'_mail'} = Mail::SpamAssassin::NoMailAudit->new(); # Make a M::SA object; point to custom configs my $spamtest = Mail::SpamAssassin->new($self->{'sa_prefs'}); # Get verdict, score, list of rules my $status = $spamtest->check($self->{'_mail'}); ---- so that it'll work with both SA 2.6x and 3.x? Thanks, -- Bob Apthorpe
