Howto install and configure OpenBSD spamd

OpenBSD's spamd is a SPAM deferral daemon which rejects false mail in a very efficient way. spamd is a fake MTA or mail daemon which rejects false mail. It is designed to be very efficient so that it does not slow down the receiving machine.

For large email server I put spamd infront of Postfix. If you are just using a Postfix MTA try these tips to avoid spam.

From the article:

We all know about the rampant spam email problem. Nearly all of the potential solutions offered for it are based on the idea of the mail server receiving messages, classifying them as either spam or legitimate, and then processing further (deleting or forwarding messages) as appropriate. The problem with this strategy is that you end up using extra resources on the mail server. Here's a way to get the same result while minimizing resource usage by preventing the spam from reaching the mail server.
The order of things is as follows:
1. Decide on a physical hookup and IP addressing scheme.
2. Get spamd configured and running.
3. Tell OpenBSD to send any TCP 25 traffic to spamd for evaluation (yes, that is a required step). But we also must tell OpenBSD to forward email from "good" senders to our real email server. PF rules (OpenBSD's version of iptables) take care of that.
4. Test, test, test!

Installing and configuring spamd

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Download of the day: Opera 9.2 (all platforms)

Next post: Download of the day CentOS 5 CD / DVD ISO