Slashdot Mirror


Spam Filtering For Small/Medium Business?

or_is_it writes "The company I work for has been growing dramatically and I've been charged with the task of being the gatekeeper for our GFI Spam filters. This involves manually inspecting the subject line/to/from for all caught messages in each filter rule folder. For a company of about 50 people, in one day the number of spam messages can exceed 2,000. Neglect it for a day and you end up with quite a task on your hands. I've made the rules lax enough so important messages can go through, along with a few stray spams, for which I get bitched at. Tighten the rules up and then maybe an important time-sensitive email never gets to its intended recipient, and I get bitched at. Manually reading through all those subject lines is supposed to prevent that, but I'm only human and genuine messages can easily get overlooked. How do larger organizations deal with the spam issue? I can't imagine having one centralized person manually inspecting everyone's junk-mail header is the optimal solution. Purchasing a different commercial mail filter product is a possibility, but I'd like to hear some anecdotal evidence before jumping ship."

18 of 453 comments (clear)

  1. Client-based? by Gaxx · · Score: 5, Informative

    To be honest, for somewhere of that size I'd be tempted to use some sort of client-based filtering (along the lines of spambayes [http://spambayes.sourceforge.net/]) which would put the power and responsibility in the hands of your users.

    --
    -- Gaxx
  2. Barracuda SPAM filter by spacepimp · · Score: 4, Informative

    I purchased a Barracuda for my organization of about 120 employees, and it has been fantastic. I fine tuned a few options on the config and it has blocked about 200,000 emails in the almost two months i have deployed it. There are very few false positives, and very few that get through its filters. I actually get calls of gratitude from the end users about how happy they were not receiving any more SPAM messages. The hardest part was informing them the user base on the difference between the mailing lists they were on and SPAM. Barracudas support has been good as well.

    1. Re:Barracuda SPAM filter by Anonymous Coward · · Score: 1, Informative

      I love barracuda as well. But for Barracuda on a IT budget WITH a knowledgeable Sysadmin, Basically barracuda is a canned linux, running postfix, clamav, and spamassassin. It will just not have the web-based gui configuration / log viewing that barracuda does so well.

      As for fighting spam, the best practice is education of your users. If they want to subscribe to Victoria Secrets mailing list (which they sell) tell them to send an optout to the reseeling of their name. Let your users know how they get sucked into spam.
      For a server based fight: Set-up a 450 or no response or a /dev/null for any name that is improper i.e. don't let them keep slamming away till they find a name. Also set-up timeout rule for errors. Most modern mail servers don't make mistakes when sending and receiving mail. I currently timeout for 5 minutes on 3 soft errors I find this has the spam bot move on. Also like others said use multiple blacklists, I'd suggest njabl.org as a good place to start. Lastly no matter how good you are unless your going to open and look at each email that comes through spam is going to find a way.

    2. Re:Barracuda SPAM filter by Anonymous Coward · · Score: 1, Informative

      Looking at it from the perspective of a small company that depends on e-mail to communicate with customers Barracuda is a major obstacle, it frequently intercepts e-mails to customers. It seems to be one of the worst offenders but that could be due to market share.

      Maybe it is just stupid admins who don't know how to configure it, but some of the rules seem ridiculous.

      For example I had a customer who wanted a receipt, I sent them a link to their receipt page. After they complained about not getting a response it turned out Barracuda was configured to block anything with an https link in it. There was no notification to the sender that the e-mail was blocked either.

      Bottom line spam filters don't work. Your users will lose e-mail they need. I think admins who like Barracuda are fooling themselves, it seems to be blocking spam, they just don't realize how much else it is blocking.

    3. Re:Barracuda SPAM filter by Lershac · · Score: 3, Informative

      Ah but that just addresses the symptom and not the fundamental problem. You should NEVER accept and email and then not deliver it without a bounce. If a message is spam, decide so at transaction time and terminate the transaction with a failure code.

      Email systems that do not do this, yet do not send a bounce message "break" email. Possible to get a false positive and block a legit email with no error message back to sender. This is never a desired operation. If the message get a spam designation and the transaction is ended at smtp time, the onus returns to the sending server to create and deliver the error message back to the sender. For spam, no problem they dont do it anyway, and for ham that was false-positived, the sender gets a descriptive notice why.

      --
      Chuck
  3. dajones70 by Anonymous Coward · · Score: 2, Informative

    Use MailScanner with the MailWatch GUI and after a few weeks or so of monitoring and tweaking, it will run on autopilot and you can sleep well. http://mailscanner.info I have it running on a number of small businesses and they are very happy with it.

    1. Re:dajones70 by Linker3000 · · Score: 2, Informative

      Absolutely MailScanner - thread over!

      http://www.mailscanner.info/

      Our organisation runs 5 Linux Servers around the UK for mail services and they are all using MailScanner + Postfix + SpamAssassin + ClamAV + Bitdefender.

      Great installation instructions (all-but bitdefender) here: http://www.hughesjr.com/content/view/14/

      The mailing list for MailScanner is very well supported by the users and the devs.

      --
      AT&ROFLMAO
  4. Postini by chill · · Score: 2, Informative

    Postini's anti-spam service does wonders. We use it for about 200 accounts and people love it. It works, rarely gets things wrong and is simple. IT (me) loves it because spam is no longer my problem. For a fee that would be less than my effort and aggravation is worth, they take care of it. We are currently investigating expanding use to compliance filtering and archiving as well.

    For the record, Google purchased Postini in the not to distant past.

    --
    Learning HOW to think is more important than learning WHAT to think.
  5. OpenBSD spamd by DaMattster · · Score: 4, Informative

    I've had excellent results with this particular product. Spamd uses blacklisting, greylisting, and tarpitting. It really is delightfully evil and still makes me smile because it includes a fake smtp daemon which sets the tcp rcv window to 1. This is a kick in the nuts to the spammer. I've used it with resounding success at a client who was recieving 2000 spam emails a day. Prior to implementing spamd, we were using just a Barracuda. When I combined spamd and the Barracuda, spamd caught about 1975 of the spam messages and the barracuda took over from there. No false positives and we've been running for three months. This link details how to set it up, http://www.linux.com/feature/61103.

  6. ESVA all day long by erroneus · · Score: 2, Informative

    I've been running this for quite some time with fantastic results. It's a VMWare appliance.

    Inside, there is greylisting and MailScanner. Within MailScanner, there is SpamAssassin, some RBL, ClamAV and all sorts of things.

    For my organization, I find that in addition to everything else "stock" I can safely filter out all countries but the U.S. since we don't do business outside of our state, let alone our country... so it's safe to assume that anything from outside the US will be spam.

    It is extremely effective. I have helped to get the VM set up in environments with multiple domains and it works very well too.

    One problem with it is that it is rapidly aging. The user community has made some effort to get the VM up to date in some ways, but the 2.0 version as far as anyone can tell is still in discussion and planning. The project creator and leader is a one-man-show and he seems to have a life outside of this project for some reason. The user community is frantic to get something to replace the aging 1.7.1.5 machine we all use as the reference point for our installs.

  7. This is largely a known-solved problem by Arrogant-Bastard · · Score: 4, Informative
    The place to ask this question isn't here, it's on the "spam-l" mailing list, which arguably has the highest concentration of the world's most experienced anti-spam researchers and developers. Simple techniques for tackling this have been repeatedly covered there over a period of many years, and their behavior is well-understood and predictable, making them viable choices for production systems. So I would suggest that you subscribe to that list (via listserv@peach.ease.lsoft.com) and repeat your question there, along with some indication of your MTA environment.

    Meanwhile, here is some general guidance. First, do not waste your money on commercial products -- they're expensive, poorly-maintained, and in many cases (e.g. Barracuda) actually make the spam problem worse via backscatter. (There are now several thousand Barracudas on a communally-maintained blacklist, making it obvious to everyone working in this field that Barracuda is completely incompetent.) Second, do invest your money and time in open-source solutions: it is easy for anyone who possesses baseline competence in mail to craft their own, superior spam handling system using postfix or sendmail or another open-source MTA, DNSBLs, RHSBLs, judicious configuration, and other tools such as rbldnsd, mimedefang, SpamAssassin, ClamAV, and so on. Third, a little googling will reveal near-cookbook procedures for combining these pieces of software together into a useful system; which cookbook procedure is appropriate for you depends on your environment -- which brings me to the fourth point, which is that you need to perform log analysis in order to understand your particular mix of spam/not-spam. Everyone's is different, which is why one-size-fits-all solutions usually fail. Only after you have some clue about the size and shape of your problem will you be able to determine which approach(es) are likely to minimize both false negatives (FN) and false positives (FP).

    As an aside, one set of highly effective anti-spam tactics involves enforcing RFC requirements that have been in place for many years: for example, all mail servers must have rDNS; that rDNS must resolve to a host which in turn resolves back to the IP; the domain of the host must exist; the host must HELO as a valid FQDN or bracketed-quad IP; the envelope-sender's domain must exist; the host must not HELO as you; the host must wait for the SMTP greeting before HELO'ing; the host must handle a multi-line SMTP greeting; the MX records for the host must point to valid IP space; and so on. Enforcement of these requirements yields differing rates of spam control (which is again why log analysis is crucial) but has the very valuable property that it can be done at low computational and bandwidth cost. Substantial experience with these suggests that enabling them and augmenting them with a few DNSBLs (especially the Spamhaus Zen zone) is enough to deal with the overwhelming majority of the spam problem at most sites, reducing what's left to a much smaller issue to be dealt with.

  8. Combined effort is necessary by Z00L00K · · Score: 3, Informative
    I have a setup where I use a configuration of Sendmail as first line protection and I use several sources for spam filtering.

    dnsbl/enhdnsbl is enabled for zen.spamhaus.org, bl.spamcop.net, combined.njabl.org, list.dsbl.org, dnsbl-1.uceprotect.net, dnsbl-2.uceprotect.net, dnsbl-3.uceprotect.net and sbl-xbl.spamhaus.org. With all these enabled there are very few spam messages falling through.

    Adding to this I am using Mozilla Thunderbird which has a very good intelligent junk mail filter. The only disadvantage is that the junk mail filter has to learn what's junk or not.

    The use of dnsbl/enhdnsbl also does bounce back to the sender with a reasonable message for the cases where a message is denied so the sender shall be informed about any messages that are denied. Of course - it isn't fool-proof, but it works for me.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    1. Re:Combined effort is necessary by Wolfkin · · Score: 2, Informative

      zen.spamhaus.org IS sbl-xbl.spamhaus.org , per their website.

      --
      Property law should use #'EQ, not #'EQUAL.
    2. Re:Combined effort is necessary by entrigant · · Score: 5, Informative

      The use of dnsbl/enhdnsbl also does bounce back to the sender with a reasonable message for the cases where a message is denied so the sender shall be informed about any messages that are denied. Of course - it isn't fool-proof, but it works for me.

      Do you generate a bounce, or do you reject with a 500 error and a proper message at spam time? You should not generate a bounce to remote mail. Ever. This is the cause of e-mail backscatter and is a significant problem. Always reject at SMTP time with a 500 error.

    3. Re:Combined effort is necessary by Sleepy · · Score: 3, Informative

      Wow. You need to review your config!

      From experience: you only need Spamhaus Zen and SpamCop for connection checking.
      If you parse DATA before you accept it, you should incorporate URIBL.COM it's very good, and helps catch Yahoo and Gmail spam (which will get past Spamhaus and Spamcop all the time) because it scans bodies for naughty links

      dsbl.org is REDUNDANT -- incorporated in Spamhaus Xen.
      Spamhaus SBL-XBL -- incorporated in Spamhaus Xen.
      NJABL.org is dead and a mirror of the CBL, I believe (-- incorporated in Spamhaus Xen also)

      Never send bounce notices for spam. What notices leave your server are likely going to forged From: addresses....

    4. Re:Combined effort is necessary by entrigant · · Score: 2, Informative

      This is not set in stone. It is still implementation specific, and many mis-configured mail servers do send a bounce to the envelope from address if mail is rejected due to a dns blacklist entry.

  9. Re:Frontbridge Spamshark by badger.foo · · Score: 2, Informative

    > Now this internal blacklist is then shared to all the other customers who use Spamshark, so they are now protected too; resulting in a 5 nines hit rate on spam.

    And more false posistives than you would actually like to have. I've been at the business end of one of Frontbridge's blacklists. One of the domains I admin got blacklisted a full three weeks after the hosting company screwed up and let phishers set up a paypal scam site as the "test1" user to live for all of 22 hours. Three weeks later, one of the company's main customers, who happens to be a frontbridge customer, is no longer able to receive mail from us. A an unfinished writeup is at bsdly.net - I just gave up in disgust after trying to write an article about the incident.

    --
    -- That grumpy BSD guy - http://bsdly.blogspot.com/
  10. ASSP is your answer by Lershac · · Score: 3, Informative

    I manage self-hosted email for several small-medium companies. ASSP is platform independent, low resource, and does a VERY good job. VERY very configurable, and free, open source, easy to modify, easy upkeep (almost zero action required beyond checking the logs to keep an eye on things) and free software.

    In a company of about 75 email accounts it has blocked 4 million spams in a little over a year.

    The false negative rate is so low it might as well be zero, and the false positive rate as well.

    It uses among many other things whitelists,so your people never miss an email from an established contact, redlists, so a known spammer cannot ever be accidentally added to the whitelist, does spf checking, checks headers against spoofing, has an antivirus component, can forward a copy of all spam to a spamlover address and much much more.

    and its free.

    For a single sbs server, you can install it on the same box and zero out of pocket costs except for your time to install it (I would personally budget 20 hours for R&D for a first time administrator to install it).

    Please email me if you want more detailed information on how it works for my clients. I can also put you in contact with end users at the executive level of these companies to ask how they like it (the final litmus test)

    Good luck

    --
    Chuck