Skip Links

Network World

  • Social Web 
  • Email 
  • Close

Blocking spam on a Unix system

Nutter's Help Desk By Ron Nutter , Network World , 07/16/2007

We have a Solaris Sparc machine configured with sendmail. Currently a lot of spam is coming to our server. Can you please suggest me how to control spam.
-- Manjunath

There are several ways to do it, but I'd suggest starting with a spam-control solution on a separate server. This takes the processing load off of your mail server in dealing with the spam and gives you a fallback option if something happens to where you can reroute email to the Solaris box.

The most popular option is to build your solution using Spamassassin. But also consider using Postfix as a replacement for sendmail. Out of the box it does quite a bit of spam control on its own by checking for valid domain existence, valid A or MX record for the sending domain, etc. You can add more spam hurdles by checking against several realtime blacklists that look for known sites that are currently sending spam and IP address ranges assigned to Internet providers. You can do this with Sendmail as well, so it's partly a matter of what you are the most comfortable with. There are several "cookbook" solutions you can find using Google that will show you how to put together a system using a variety of components.

There are "add-ons" such as Razor that supplement and enhance SpamAssassin. While Spamassassin comes with quite a number of built in, there are even more for the picking. One of the best sites for finding rule sets is www.rulesemporium.com.

However, don't just set and forget - the spammers certainly aren't doing that. This is an ongoing process that you will have to monitor, tweaking it over time as the spammers adjust their assault tactics to keep the wolves at the gate. Check this site often as the rules sets can often be updated on a daily basis based on what is being seen in the wild.

Depending on your volume of e-mail, you may find that you need to have a gigabyte or more of RAM installed in the system running Spamassassin. Periodically checking for new versions of SpamAssassin and the other modules will give you the the best chance of keeping spam out of your mail system.

You also have the option of implementing a spam control system using a commercial solution - which gets down to a cost/benefit analysis of comparing what a vendor can offer you that you don't have to spend time configuring.

Partner Content

Brilliantly simple security and control solutions for email, web and endpoint

www.sophos.com

Stopping data leakage

Learn how to exploit your current security investment to control the information that flows into, through and out of your network.

Download the white paper.

Why detection rates aren't enough

Evaluating endpoint security products is a time-consuming and daunting task. Learn the six critical questions you need to ask to prospective vendors to get the right endpoint solution.

Download the white paper.

Unauthorized applications: Taking back control

Employees installing and using unauthorized applications like IM, VoIP, games and peer-to-peer file-sharing applications cause many businesses serious concern. How do you control these applications?

Download the white paper.

Comments (4)
Login
Forgot your account info?

Most spam appliances work fine on a UNIX systemBy stk on July 22, 2007, 4:30 pmMost spam appliances act as a SMTP proxy so they are transparent to the operating system you use. My company Abaca offers a 99% spam accuracy guarantee where...

Reply | Read entire comment

RE: Blocking spam on a Unix systemBy peterls on July 22, 2007, 4:04 pmWhy going to spend a few hours on implementing SA, changing your set up and when everything is installed check and maintain the anti spam solution on a daily base?...

Reply | Read entire comment

Why SpamAssassin?By Anonymous on July 17, 2007, 10:15 pmI would not recommend SpamAssassin. SA is a great product but it is slower than other open source products and requires substantialy more maintenance (updating rules,...

Reply | Read entire comment

RE: Blocking spam on a Unix systemBy Nat on July 16, 2007, 8:22 pmGreat article Ron. I have two additional thoughts you might choose to share. First, SpamAssassin can be DNS intensive, so I highly recommend installing a local caching...

Reply | Read entire comment

View all comments

Add comment
Anonymous comments subject to moderator approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed
Save The Date!
What They Are Saying

our government no longer speaks for "we the people for the people" it is now corrupt and dangerous!it...- Anonymous

Join the Discussion