vincenzobar
Verified User
- Joined
- Aug 15, 2004
- Messages
- 89
I ran the spamAssassin install script and then went to start SpamAssassin and got a big old error!!!
So i went hunting for the latest SpamAssassin, latest perl (5.8.5) and HTML Tagset.
SpamAssassin 2.64
Pearl 5.8.5
p5-HTML-Tagset 3.03
for Perl 5.8.5 go to perl and download zip and install. They have very good instructions! (www.perl.com)
For the HTML-Tagset
I then installed SpamAssassin 2.64 without a hitch.
or
No matter how you go about uploading this to your computer you must get the Syslog mod for it to work (this took me forever to figure out). Now time to see if it is working
if you get this
your running.
check the process with
should get something like this
***edited with this missing step*****
the T is test mode for spam so you have to run these 2 scripts from the command line. locate the sample-spam.txt to find out what folder to execute this command from. you have to do it within the spamAssassin folder!
also get to love the var/log/maillog - this will tell you everything you need to know for knowing if SpamAssassin is working or timing out!
After this has completed run spamd -d and you will see something like this:
IT WORKKKKKSSSSSSSSSSSSSSSSSSSSSSSS!!!!
Code:
Can't locate HTML/Parser.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/HTML.pm line 7.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 42.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/bin/spamd line 33.
BEGIN failed--compilation aborted at /usr/bin/spamd line 33.
So i went hunting for the latest SpamAssassin, latest perl (5.8.5) and HTML Tagset.
SpamAssassin 2.64
Pearl 5.8.5
p5-HTML-Tagset 3.03
for Perl 5.8.5 go to perl and download zip and install. They have very good instructions! (www.perl.com)
For the HTML-Tagset
Code:
perl -MCPAN -e install HTML::Parser
(let it do its thing)
quit
Code:
rm -f config.sh Policy.sh
sh Configure -de
make
make test
make install
Code:
perl -MCPAN -e shell
o conf prerquisites_policy ask
install Mail::SpamAssassin
(let it do its thing)
install Sys::Syslog
(let it do its thing)
quit
Code:
spamd
Code:
Could not create INET socket: Address already in use IO::Socket::INET: Address already in use
check the process with
Code:
ps xa | grep spamd
Code:
4295 pts/0 T 0:02 /usr/local/bin/perl -T -w /usr/local/bin/spamd
4545 pts/0 S 0:00 grep spamd
***edited with this missing step*****
the T is test mode for spam so you have to run these 2 scripts from the command line. locate the sample-spam.txt to find out what folder to execute this command from. you have to do it within the spamAssassin folder!
Code:
locate sample-spam.txt
(navagate to folder and type)
spamassassin -t < sample-nonspam.txt > nonspam.out
spamassassin -t < sample-spam.txt > spam.out
also get to love the var/log/maillog - this will tell you everything you need to know for knowing if SpamAssassin is working or timing out!
After this has completed run spamd -d and you will see something like this:
Code:
6956 ? S 0:01 /usr/local/bin/spamd -d
15074 pts/0 S 0:00 grep spamd
IT WORKKKKKSSSSSSSSSSSSSSSSSSSSSSSS!!!!
Last edited: