Skip to Content

Local Spam Filter Setup

Notes on activating and configuring the local spam filter system.

Introduction

To activate the local spam filter, you need to know which of the two mail servers you are using:

  1. imap (imap.physics.utoronto.ca)
  2. maildir (maildir.physics.utoronto.ca)

Each server uses a different storage format. The older server, named imap, uses mbox format, while the newer server, maildir, uses a format of the same name: Maildir.

Users of imap, should activate the spam filter with:

bogosetup -t mbox

Users of imap, should activate the spam filter with:

bogosetup -t Maildir

The -M switch is inert. Remove references in the documentation.

The Configuration File: .procmailrc

A file called .procmailrc will be created in the home directory of the user corresponding to the mail storage format. The key entries are listed here and full listings further on.

The format-based differences show up in lines 6, 7 and 19. The difference can also be seen in form of a patch, although the format is mostly of interest to programmers.

Vacation Auto-Reply with the Spam Filter

Please check out the separate Vacation Message Setup document.