Spamassassin 3.04 w/ perl problem

dan35

Verified User
Joined
Nov 21, 2004
Messages
72
already installed p5-HTML-Parser-3.45, p5-HTML-Tagset-3.04 on FreeBSD 5.3

1) Install spamd and spamc:

cd /usr/local/directadmin/scripts
./spam.sh

2) Start the spamd:

/usr/bin/spamd -d -c -m 5

Can't locate Mail/SpamAssassin.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7) at /usr/bin/spamd line 42.
BEGIN failed--compilation aborted at /usr/bin/spamd line 42.
 
We install the latest version of Spam Assassin this way:

Edit the spam.sh file at:

/usr/local/directadmin/scripts/spam.sh

so that the VERSION line has the version number you want to install.

Then run the script:

# cd /usr/local/directadmin/scripts/
# ./spam.sh

And it installs. Does this not work for you?

Jeff
 
I already installed sa 3.04 with that way, but got stuck at the second step.

Also installed p5-HTML-Parser-3.45, p5-HTML-Tagset-3.04 on FreeBSD 5.3

2) Start the spamd:

/usr/bin/spamd -d -c -m 5

Can't locate Mail/SpamAssassin.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7) at /usr/bin/spamd line 42.
BEGIN failed--compilation aborted at /usr/bin/spamd line 42.
 
It looks as if the Mail/SpamAssassin.pm module isn't installed properly.

Is it on your system?

If not, you should install it. As with all perl modules, you can install it with CPAN.

Jeff
 
Thanks, jlasman!

Doen't work with this way
cd /usr/local/directadmin/scripts
./spam.sh

but installed via freebsd ports, and it works! :)
 
Back
Top