Skip to content
AJenbo edited this page Sep 14, 2010 · 3 revisions

This is a forked repository. Have a look at
ook’s isbg wiki
for more information.

Setting up Spamassassin in Ubuntu

This guide has only been tested on Ubuntu 9.10, but it should work on most othere versions and probably also Debian.

Run the folowing commands:
sudo apt-get install spamassassin libnet-dns-perl libmail-spf-query-perl razor pyzor
razor-admin -create
razor-admin -discover
razor-admin -register
pyzor discover
cd $HOME/src
wget http://www.dcc-servers.net/dcc/source/dcc-dccproc.tar.Z
tar xfvz dcc-dccproc.tar.Z
cd dcc-dccproc-*
./configure —disable-sys-inst —disable-server —disable-dccm \
—disable-dccifd —homedir=$HOME/dir —bindir=$HOME/bin
make && make install

This will set up Spamassasin with SPF check, Razor, Razor, Pyzor and DCC

Next you need to edit /etc/mail/spamassassin/v310.pre
Uncomment following 3 lines
#Loadplugin Mail::SpamAssassin::Plugin::DCC
#Loadplugin Mail::SpamAssassin::Plugin::Pyzor
#Loadplugin Mail::SpamAssassin::Plugin::Razor2

Next edit /etc/default/spamassassin
Change
ENABLED=0
to:
ENABLED=1

Now start Spamassassin:
sudo /etc/init.d/spamassassin start

Finally reboot the system

Now you are ready to fully use isbg

Clone this wiki locally