Saturday, January 17, 2009

Installation of Spamassassin in Exim4 Debian

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

deb http://volatile.debian.net/debian-volatile 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
quit

Restart the spamassassin

/etc/init.d/spamassassin restart

Check the version of spamassassin -V

Updating the rules


sa-update -D

Tuning the Spamassassin

/etc/mai/spamassassin/local.cf

# 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

http://koivi.com/exim4-config/
http://www.linuxsupport.org.uk/sa/index.html

Installation of Virtual Box in Ubuntu 8.10

Installation

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

deb http://download.virtualbox.org/virtualbox/debian intrepid non-free

Step 2: Add public key

wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -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.