Howtoforge posted a guide about setting up SpamSnake on Ubuntu 8.04 LTS
>> The Perfect SpamSnake - Ubuntu 8.04 LTS
This tutorial shows how to set up an Ubuntu Hardy Heron (8.04 LTS) based server as a spamfilter in gateway mode. In the end, you will have a SpamSnake Gateway which will relay clean emails to your MTA. You will also be able to view your incoming queue, train your SpamSnake and carry out a few more advanced operations via MailWatch.
>> The Perfect SpamSnake - Ubuntu 8.04 LTS