hostpc.com
Verified User
If you don't have all the dependencies met for the new DirectAdmin implementation of SpamAssassin, here's a quick script that'll get you going. This must be run as root. Instructions are for RH9/Fedora.
login as root
cd /root
Using nano, or your favorite line editor:
nano -w htmlparser.sh
chmod 755 htmlparser.sh
./htmlparser.sh
That should answer any dependency issues spamassassin requires, and get you running quickly.
Scripting it made it very easy for us to update 18 boxes - hope it's helpful for you.
login as root
cd /root
Using nano, or your favorite line editor:
nano -w htmlparser.sh
cd /usr/local/directadmin/scripts
./spam.sh
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.35.tar.gz
tar xvzf HTML-Parser-3.35.tar.gz
cd HTML-Parser-3.35
perl Makefile.PL
make
make install
/usr/bin/spamd -d -a -c -m 5
/sbin/service exim restart
chmod 755 htmlparser.sh
./htmlparser.sh
That should answer any dependency issues spamassassin requires, and get you running quickly.
Scripting it made it very easy for us to update 18 boxes - hope it's helpful for you.
Last edited: