Saturday, January 17, 2009

Installation of Spamassassin in Exim4 Debian

Step 1: Add following to /etc/apt/sources.list

deb sarge/volatile main contrib

Step 2: Install Spamassassin via apt-get

apt-get install spamassassin

Step 3: Enable spamassassin

edit /etc/default/spamassassin and enable spamd

Installation or updating using CPAN

perl -MCPAN -e shell
install Mail::SpamAssassin
reload CPAN

Restart the spamassassin

/etc/init.d/spamassassin restart

Check the version of spamassassin -V

Updating the rules

sa-update -D

Tuning the Spamassassin


# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.

required_hits 4.0
report_safe 1
rewrite_header Subject *****[SPAM](_SCORE_)*****
use_bayes 1
auto_learn 1
ok_locales en

Useful Links

Installation of Virtual Box in Ubuntu 8.10


Step 1: Add following address in /etc/apt/sources.list

deb intrepid non-free

Step 2: Add public key

wget -q -O- | sudo apt-key add -

Step 3: Update and Install necessery package

sudo apt-get update

sudo apt-get install dkms

Step 4: Install the virtual box

sudo apt-get install virtualbox-2.1

It will start the to install and will add the network interfaces.

Open the Virtual Machine Application and create the machines.