Henriks bulk email filter

In the middle of 1997 I got more and more bulk email. I never wanted any of it so what to do? Trying to tell these spammers to quit seems to be no idea. I have another email address but I didn't want to ask all friends to uppdate their lists just because of these spammers. I decided I wanted a filter that would make it possible for my friends who had the old address to continue to use it and tell all others that their mail didnīt make it and how to find the new address which has no filter.

This was possible using procmail so I made a .procmailrc file looking like something like this:

example .procmailrc file

If an email is not from a domain in the list a messege is sent to the sender. Copies of the last 32 rejected messages are saved in a folder for rejected messages. The names in the example file are made up. If you wish to use this procmailrc file change the car company names and the email address and URL found in the example.

If procmail does not run on your system put something like this in .forward:

example .forward file

See the man pages for procmail for more details. Of course your system must be a UNIX system for this to work if it is NT or something get a real computer.

back