How to Filter Spam in KMail
- 1). Choose whether you would like to use Bogofilter or Spamassassin to filter the spam.
- 2). Install the chosen program by opening the "Add/Remove" software utility, searching for either program, selecting the tool for installation and clicking "Apply."
- 3). Open your KMail.
- 4). Click on the Tools menu and select "Anti-SPAM Wizard." The wizard will automatically detect your anti-spam tool(s).
- 5). Select your tool (Bogofilter or Spamassassin) and click "Next."
- 6). Choose your preferred anti-spam settings. You will be given the option to relocate spam to a specific folder. The default is the Trash folder, but you may create a specific spam folder.
- 7). Click "Finish."
Source...