Are you trying to install it on your on machine?
DreamHost already has it installed on its mail servers, all you have to do is use the web panel or mailboxes.yourdomain.com to turn Razor filtering on - one mailbox at a time though. Anyways, easiest and quickest way if your mailbox with DreamHost:
- Browse to http://mailboxes.yourdomain.com/
- Login with your e-mail address and mailbox password
- Scroll down to "Server Filters" section
- Look for "Spam Filters for firstname.lastname@example.org"
- Check "Filter spam with Razor"
- Choose the how you access the mailbox
- Click "Change Spam Settings"
IMAP is the way to go if your POP3 client can't sort out messages by the 'X-Razor' header. It also has the benefit of being able to report a message as spam if it got through and revoking a message if it was thought to be spam.
Other than that, I suggest -
- Do not use a catch-all address, have the mail server bounce unknown recipients instead.
Use HTML entities encoding when putting an e-mail address on a web page
eg use mailto:gmsamet@
Don't use e-mail addresses on web page, link to a modified "form mail" script instead so that your e-mail address is not sent over the web
- Set up a procmail filter that drops messages without your "name", ie
a. accept To: Anonymous Coward email@example.com
b. drop To: firstname.lastname@example.org
A lot of addresses are picked up by web harvesters which is why atm #2 - #4 seem to work for me. Though this is pointless if a third party lists your address on their web site However I did get one of those Nigerian 419 scammers using my web form once. I was dissappointed to find he only wrote two sentences but now I have two netblocks of an African ISP blacklisted by Apache.
Perl / MySQL / HTML+CSS