no -- the issue is not the NoMailAudit problem -- it's that
you're missing a required module,  Digest::SHA1.  read the
INSTALL and UPGRADE docs.

--j.

Bob McClure Jr writes:
> On Sun, Feb 25, 2007 at 08:22:05PM -0800, Wen Wang wrote:
> 
> > Thanks, Bob. But I don't think this is the problem. I think it's
> > syslog use "_" to replace the blank space in the message.
> 
> Oh.
> 
> > I do find the message in spamassassin's website. But not so
> > understand what it means. What's "new parse( ) API" ?
> 
> Beats me.  You're way deeper into SA than I.  I've never used the
> API.  Looks like you've written some local code that works with
> pre-v3.x SA.  I'd look at the man page for Mail::SpamAssassin and see
> what function does what you want in the (apparently newer) version you
> are using.
> 
> > =========================================================================================
> > The 'Can't locate Mail/SpamAssassin/NoMailAudit.pm' error
> > In SpamAssassin 3.0.0, we switched over to a new message-parsing public 
> > API. This means that tools which use the SpamAssassin perl modules will 
> > need to update to use the new interface. A typical symptom is this error 
> > message: 
> >   Can't locate Mail/SpamAssassin/NoMailAudit.pm in @INC (@INC contains: 
> >   lib /home/jm/ftp/spamassassin/lib /etc/perl /usr/local/lib/perl/5.8.3 
> >   /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 
> >   /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl 
> >   /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 .) 
> >   at /home/jm/bin/handlespam line 66.
> >   BEGIN failed--compilation aborted at /home/jm/bin/handlespam line 66.
> > 
> > To fix this, the calling code needs to be updated to use the new parse() 
> > API on the Mail::SpamAssassin object. You should check the web site where 
> > you obtained that code, to see if they've released an update to support 
> > 3.0.0. 
> > If the script in question is part of the SpamAssassin distribution, such as 
> > 'spamassassin' or 'spamd', it's very likely that you're not running the 
> > 3.0.0 version of that tool, and instead the older 2.x version is still 
> > installed on your system, and still in the PATH. 
> > 
> > 
> > 
> > ----- Original Message ----
> > From: Bob McClure Jr <[EMAIL PROTECTED]>
> > To: users@spamassassin.apache.org
> > Sent: Sunday, February 25, 2007 9:57:18 PM
> > Subject: Re: SA successfully installed, but it doesn't work. Can't locate 
> > Digest/SHA1.pm?
> > 
> > Because /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris is not in
> > your @INC.  But why is
> > "_/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris_" in your @INC?
> > What's up with that?
> > 
> > Cheers,
> > -- 
> > Bob McClure, Jr.
> > 
> > On Sun, Feb 25, 2007 at 05:14:40PM -0800, Wen Wang wrote:
> > > The log file says that "can't locate Digest/SHA1.pm", but I do have 
> > > /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/Digest/SHA1.pm in my 
> > > system. Why?
> > >  
> > > Following is the log file:
> > >  
> > > Feb 25 18:10:38 laika qmail: [ID 748625 mail.info] 1172448638.837731 
> > > delivery 126011: success: 
> > > procmail:_Error_while_writing_to_"/usr/tmp/procmail.log"/Can't_locate_Digest/[EMAIL
> > >  
> > > PROTECTED](@INC_contains:_/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris_/usr/local/lib/perl5/site_perl/5.8.7_/usr/local/lib/perl5/5.8.7/sun4-solaris_/usr/local/lib/perl5/5.8.7_/usr/local/lib/perl5/site_perl)_at_/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/EvalTests.pm_line_34./BEGIN_failed--compilation_aborted_at_/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/EvalTests.pm_line_34./Compilation_failed_in_require_at_/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/PerMsgStatus.pm_line_57./BEGIN_failed--compilation_aborted_at_/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/PerMsgStatus.pm_line_57./Compilation_failed_in_require_at_/usr/local/lib/perl5/
> > >  
> > > Feb 25 18:10:38 laika qmail: [ID 986938 mail.info] 
> > > 1172448638.837731+site_perl/5.8.7/Mail/SpamAssassin.pm_line_72./BEGIN_failed--compilation_aborted_at_/usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin.pm_line_72./Compilation_failed_in_require_at_/usr/local/bin/spamassassin_line_82./BEGIN_failed--compilation_aborted_at_/usr/local/bin/spamassassin_line_82./procmail:_Error_while_writing_to_"spamassassin"/procmail:_Rescue_of_unfiltered_data_succeeded/did_0+0+1/
> > >  
> > > Thanks in advance,
> > > Wen
> 
> Cheers,
> -- 
> Bob McClure, Jr.             Bobcat Open Systems, Inc.
> [EMAIL PROTECTED]             http://www.bobcatos.com
> If you really keep the royal law found in Scripture, "Love your
> neighbor as yourself," you are doing right.  James 2:8 (NIV)

Reply via email to