spamd (Spamassassin) issue

Shahid

Verified User
Joined
Dec 10, 2003
Messages
51
I have just installed Spamassassin using the following command below..

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


To run spamd:
bash-2.05b# spamd -d
Can't locate HTML/Parser.pm in @INC (@INC contains: ../lib /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 .) at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 7.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 44.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 44.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/local/bin/spamd line 32.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 32.
bash-2.05b#

bunch of errors, any idea how to fix this?

(FreeBSD 4.9)
 
Last edited:
You need the HTML::parser perl module

perl -MCPAN -e shell
shell> install HTML::parser

Chris
 
Thank you ProWebUK ;)
spamd is now running at the background..

I have edited /etc/exim.conf and remove few "#" for Spamassassin to be enabled.

I have then restarted exim, for some reason no one can send me an email now (I cant receive mail). If some one tried sending me an email - it will reply back stating it failed to send.

I am not too sure which log im suppose to check to find the solution to fix..

Here is what I found:
bash-2.05b# tail exim_mainlog
2004-06-05 01:54:15 1BWC47-000Gov-0F Message is frozen
2004-06-05 01:54:15 End queue run: pid=5159
2004-06-05 01:55:50 1BWPTS-0001LN-KE <= [email protected] H=(pengo.systems.pipex.net) [62.241.160.193] P=es
mtp S=1535 id=001a01c44a97$d7b30f90$0200a8c0@pluto
2004-06-05 01:55:50 SMTP connection from mail lost while reading message data (header)
2004-06-05 01:55:50 1BWPTS-0001LN-KE <[email protected]>: spamcheck transport output: An error was detected
while processing a file of BSMTP input.
2004-06-05 01:55:50 1BWPTS-0001LN-KE ** [email protected] R=spamcheck_director T=spamcheck: Child process of
spamcheck transport returned 2 from command: /usr/sbin/exim
2004-06-05 01:55:50 1BWPTS-0001LU-R7 <= <> R=1BWPTS-0001LN-KE U=mail P=local S=2820
2004-06-05 01:55:50 1BWPTS-0001LN-KE Completed
2004-06-05 01:55:55 1BWPTS-0001LU-R7 => [email protected] R=lookuphost T=remote_smtp H=whirlwind.systems.pi
pex.net [62.241.160.7]
2004-06-05 01:55:55 1BWPTS-0001LU-R7 Completed
bash-2.05b#
 
Back
Top