Configuring the Spam Trap

Installation

Unzip the spamtrap.zip file into a directory on your computer. It does not have to be the same computer as the one where your Mail Server or your DNS are running. In fact, they can all run on separate systems if that's what suits your needs. You should have:

Initial Setup

Launch the spamtrap.jar file. In Windows you double click it, in Linux you may have to issue the command "java -jar spamtrap.jar". The program will start and bring up the configuration dialog. Fill in all the blanks and close the window.

Mail Configuration

On this panel you fill in information about the account used to capture the spam.

DNS Configuration

On this panel you supply the IP address of your DNS server and the name of the blacklist sub-domain.

Spam Configuration

On this panel you specify the parameters for the algorithm that decides when to blacklist a site:

Deferring to Public Blacklists

There is no need to retain spammers in your private blacklist if they have been listed in an available public blacklist that your mail server is using. Once a day the Peacham Spam Trap can check your oldest active listings against the lists that you use.

Ignoring Spam from Major Providers

Some spam comes from the major e-mail providers despite their efforts to block it. You don't want to block everything from these sources because of a few Spam, so you add them to the whitelist (the opposite of a blacklist.) Spam Trap will ignore Spam that comes from mail servers in these domains. It does not use the reply address since that is almost always spoofed.

Initial Runs

The main window can be resized and repositioned and the changes will be remembered. This applies to the Configuration and DataBase windows also.

Select File/Read mail to test retrieval of spam. It will report on the number of messages read. Select View/Data to see what it got.
None of the entries are yellow yet because they have not been uploaded to the DNS, and none of the address blocks have been identified. After you have verified that all of the entries are spam, select File/Update DNS and you are on your way. Check your logs, make sure everything is operating, and then go back and set an update frequency of ten minutes.