You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Ronald I. Nutter" <ro...@georgetowncollege.edu> on 2004/08/19 14:58:06 UTC

Trying to setup Amavisd to work with Spam Assassin

I am using the document from Scott Henderson to get SpamAssassin up and
running.  I am trying to get Amavisd to work with SpamAssassin and
getting the following error -

Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate
BerkeleyDB.pm in @INC (@INC contains:
/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl) at (eval 34) line 11.
BEGIN failed--compilation aborted at (eval 34) line 11.

I am new to linux to troubleshooting this is a new area to me.  Do I
need the BerkeleyDB stuff installed or am I having another problem ?

Thanks,
Ron

--------------------------------------------------------------------
Ron Nutter                          ron_nutter@georgetowncollege.edu 
Network Manager
Information Technology Services                        (502)863-7002
Georgetown College                                     
Georgetown, KY                                            40324-1696
--------------------------------------------------------------------
 

-----Original Message-----
From: Matt Kettler [mailto:mkettler_sa@comcast.net] 
Sent: Thursday, August 19, 2004 8:49 AM
To: Daniel Quinlan; Larry Rosenman
Cc: spamassassin-users@incubator.apache.org
Subject: Re: Why HAM learn on BAYES_99?


At 02:43 AM 8/19/2004 -0700, Daniel Quinlan wrote:
> > Why did the below message get learned as HAM on a bayes_99?
>
>http://wiki.apache.org/spamassassin/AutolearningNotWorking

Dan.. AFAIK that's an outright bug in spamassassin. One of the rules of 
autolearning introduced in the 2.61 series is to never autolearn
anything 
that strongly contradicts existing learning (ie: never learn a message
as 
ham that would be bayes_99)...

Did that intentional feature somehow get reverted out of 3.x?

http://bugzilla.spamassassin.org/show_bug.cgi?id=2437



Re: [semi-OT] Posting style: Trying to setup Amavisd to work with Spam Assassin

Posted by Matt Kettler <mk...@evi-inc.com>.
Ron... when creating a new thread on the list, please create a new message, 
don't reply to an existing one.

Those of us who track replies and threads get screwed up by this, and your 
entire thread is getting flagged by my mailclient as a direct reply to one 
of my messages. (mkettler_sa@comcast.net is my home account, this is my 
work one, but my mailclient is set to highlight anything that looks like a 
reply to a post sent from either address)

At the very least, cut out the irrelevant text off.. It creates confusion. 
(What does this have to do with the autolearner??? oh, nothing, that's just 
useless garbage text quoted for no reason)

At 08:58 AM 8/19/2004, Ronald I. Nutter wrote:
>I am using the document from Scott Henderson to get SpamAssassin up and
>running.  I am trying to get Amavisd to work with SpamAssassin and
>getting the following error -
>
>Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate
>BerkeleyDB.pm in @INC (@INC contains:
>/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
>/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
>/usr/lib/perl5/site_perl
>/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
>/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
>/usr/lib/perl5/vendor_perl) at (eval 34) line 11.
>BEGIN failed--compilation aborted at (eval 34) line 11.
>
>I am new to linux to troubleshooting this is a new area to me.  Do I
>need the BerkeleyDB stuff installed or am I having another problem ?
>
>Thanks,
>Ron
>
>--------------------------------------------------------------------
>Ron Nutter                          ron_nutter@georgetowncollege.edu
>Network Manager
>Information Technology Services                        (502)863-7002
>Georgetown College
>Georgetown, KY                                            40324-1696
>--------------------------------------------------------------------
>
>
>-----Original Message-----
>From: Matt Kettler [mailto:mkettler_sa@comcast.net]
>Sent: Thursday, August 19, 2004 8:49 AM
>To: Daniel Quinlan; Larry Rosenman
>Cc: spamassassin-users@incubator.apache.org
>Subject: Re: Why HAM learn on BAYES_99?
>
>
>At 02:43 AM 8/19/2004 -0700, Daniel Quinlan wrote:
> > > Why did the below message get learned as HAM on a bayes_99?
> >
> >http://wiki.apache.org/spamassassin/AutolearningNotWorking
>
>Dan.. AFAIK that's an outright bug in spamassassin. One of the rules of
>autolearning introduced in the 2.61 series is to never autolearn
>anything
>that strongly contradicts existing learning (ie: never learn a message
>as
>ham that would be bayes_99)...
>
>Did that intentional feature somehow get reverted out of 3.x?
>
>http://bugzilla.spamassassin.org/show_bug.cgi?id=2437


Re: Trying to setup Amavisd to work with Spam Assassin

Posted by Nick Oliver <nw...@internetsecurityguru.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott Henderson's paper is not updated to include instructions on how
to deal with the newer versions of amavisd-new.  You will need to
install the BerkleyDB as part of your Perl installs using CPAN.  I
know this because a month ago it happened to me also. :)
nwo

- ----- Original Message ----- 
From: "Ronald I. Nutter" <ro...@georgetowncollege.edu>
To: <sp...@incubator.apache.org>
Sent: Thursday, August 19, 2004 7:58 AM
Subject: Trying to setup Amavisd to work with Spam Assassin


>I am using the document from Scott Henderson to get SpamAssassin up
>and 
> running.  I am trying to get Amavisd to work with SpamAssassin and
> getting the following error -
> 
> Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate
> BerkeleyDB.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/perl5/vendor_perl) at (eval 34) line 11.
> BEGIN failed--compilation aborted at (eval 34) line 11.
> 
> I am new to linux to troubleshooting this is a new area to me.  Do
> I need the BerkeleyDB stuff installed or am I having another
> problem ?  
> 
> Thanks,
> Ron
> 
> --------------------------------------------------------------------
> Ron Nutter                         
> ron_nutter@georgetowncollege.edu  Network Manager
> Information Technology Services                       
> (502)863-7002 Georgetown College                                   
>  
> Georgetown, KY                                           
> 40324-1696
> --------------------------------------------------------------------
>  
> 
> 
> -----Original Message-----
> From: Matt Kettler [mailto:mkettler_sa@comcast.net] 
> Sent: Thursday, August 19, 2004 8:49 AM
> To: Daniel Quinlan; Larry Rosenman
> Cc: spamassassin-users@incubator.apache.org
> Subject: Re: Why HAM learn on BAYES_99?
> 
> 
> At 02:43 AM 8/19/2004 -0700, Daniel Quinlan wrote:
>> > Why did the below message get learned as HAM on a bayes_99?
>>
>>http://wiki.apache.org/spamassassin/AutolearningNotWorking
> 
> Dan.. AFAIK that's an outright bug in spamassassin. One of the
> rules of  autolearning introduced in the 2.61 series is to never
> autolearn
> anything 
> that strongly contradicts existing learning (ie: never learn a
> message as 
> ham that would be bayes_99)...
> 
> Did that intentional feature somehow get reverted out of 3.x?
> 
> http://bugzilla.spamassassin.org/show_bug.cgi?id=2437

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2

iQA/AwUBQSSuQoHa2qg1FTg0EQKY4wCeOllygQ7+bznA1K3bY1yZ5T8pCLMAnRTm
3uh3ZT8UfWWW7IF3Dsp3Et+p
=afrm
-----END PGP SIGNATURE-----


Re: Trying to setup Amavisd to work with Spam Assassin

Posted by Kevin Peuhkurinen <ke...@hepcoe.com>.
If you don't already have BerkeleyDB, which it appears you don't, you 
can get it with CPAN:

# perl -MCPAN -e shell
cpan > install BerkeleyDB

It should fetch and install it for you.

Ronald I. Nutter wrote:

>I am using the document from Scott Henderson to get SpamAssassin up and
>running.  I am trying to get Amavisd to work with SpamAssassin and
>getting the following error -
>
>Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate
>BerkeleyDB.pm in @INC (@INC contains:
>/usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3
>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
>/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
>/usr/lib/perl5/site_perl
>/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2
>/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
>/usr/lib/perl5/vendor_perl) at (eval 34) line 11.
>BEGIN failed--compilation aborted at (eval 34) line 11.
>
>I am new to linux to troubleshooting this is a new area to me.  Do I
>need the BerkeleyDB stuff installed or am I having another problem ?
>
>Thanks,
>Ron
>
>--------------------------------------------------------------------
>Ron Nutter                          ron_nutter@georgetowncollege.edu 
>Network Manager
>Information Technology Services                        (502)863-7002
>Georgetown College                                     
>Georgetown, KY                                            40324-1696
>--------------------------------------------------------------------
> 
>
>-----Original Message-----
>From: Matt Kettler [mailto:mkettler_sa@comcast.net] 
>Sent: Thursday, August 19, 2004 8:49 AM
>To: Daniel Quinlan; Larry Rosenman
>Cc: spamassassin-users@incubator.apache.org
>Subject: Re: Why HAM learn on BAYES_99?
>
>
>At 02:43 AM 8/19/2004 -0700, Daniel Quinlan wrote:
>  
>
>>>Why did the below message get learned as HAM on a bayes_99?
>>>      
>>>
>>http://wiki.apache.org/spamassassin/AutolearningNotWorking
>>    
>>
>
>Dan.. AFAIK that's an outright bug in spamassassin. One of the rules of 
>autolearning introduced in the 2.61 series is to never autolearn
>anything 
>that strongly contradicts existing learning (ie: never learn a message
>as 
>ham that would be bayes_99)...
>
>Did that intentional feature somehow get reverted out of 3.x?
>
>http://bugzilla.spamassassin.org/show_bug.cgi?id=2437
>
>
>
>  
>