Installing spamassassin (spamd) on Directadmin

Login to Server using root user

Run following command

On centos box

yum -y install perl-ExtUtils-MakeMaker perl-Digest-SHA perl-Net-DNS perl-NetAddr-IP perl-Archive-Tar perl-IO-Zlib perl-Digest-SHA perl-Mail-SPF \
perl-IO-Socket-INET6 perl-IO-Socket-SSL perl-Mail-DKIM perl-DBI perl-Encode-Detect perl-HTML-Parser \
perl-HTML-Tagset perl-Time-HiRes perl-libwww-perl perl-Sys-Syslog perl-DB_File perl-Razor-Agent pyzor

On Debian box

apt-get install libhtml-parser-perl libhttp-date-perl libnet-dns-perl libnetaddr-ip-perl libsocket6-perl libsys-hostname-long-perl libwww-perl \
libio-socket-inet6-perl libmail-spf-perl libsys-syslog-perl libdbi-perl libencode-detect-perl libio-socket-ssl-perl \
libmail-dkim-perl razor libio-socket-ip-perl libnet-patricia-perl

Use CustomBuild to install SpamAssassin

cd /usr/local/directadmin/custombuild
./build set spamd spamassassin
./build spamassassin
Was this article helpful?


Leave a Reply

Your email address will not be published. Required fields are marked *