Spam filtering may be achieved by using spamassassin. The method for setting up spamassassin differs slightly on different versions of Ubuntu.
Ubuntu 6.06 LTS (Dapper Drake)
On Ubuntu 6.06 the bogofilter plug-in (another plug-in intended to filter out spam), which is enabled by default, does not seem to work (Well not for me, I did a clean install and copied my old home directory). Thing is having the bogofilter plugin enabled stops spamassesin working. The solution is to go to Edit->Plugins, disable bogofilter and restart evolution.
Previous Releases (5.10 and Below)
On the top panel, visit System -> Administration -> Synaptic Package Manager.
Search for "spamassassin".
Install "spamassassin" and any dependencies it requires.
- Or write in terminal
apt-get install spamassassin
- Launch Evolution.
Go to Edit -> Preferences -> Mail Preferences -> Junk.
Enable at least the first option box, "Check incoming mail for junk."
Spamassassin itself requires no setup in most cases. If you really wanted to know all that, open the Gnome Help browser (System -> Help), type Ctrl-l (for "Location), and in the box type "man:spamassassin". Alternatively, you could open a terminal (Applications -> Accessories -> Terminal) and type "man spamassassin". There is additional documentation in "/usr/share/doc/spamassassin". (Places -> Home Folder, type Ctrl-l (Location), then enter "/usr/share/doc/spamassassin".)