Slashdot Mirror


O'Reilly Article on Spam Defense

Dru writes "Here's an article talking about the details of implementing a network level spam defense with Qmail. It also talks a little about a new site called Trustic which uses a trust system (like Advogato) for nominating spammer/hostile IP's."

68 of 189 comments (clear)

  1. hostile IP's by CySurflex · · Score: 5, Funny
    for nominating spammer/hostile IP's

    and thereafter all packets from said IP's are market with the Evil Bit.

    1. Re:hostile IP's by sketerpot · · Score: 4, Funny

      I propose that, rather than changing content, proxies simply add the evil bit to packets from sources that they know to be evil. This can be treated by applications as simply a suggestion, like CSS. Here is how we can set the evil bit---at the proxy level! Mark banner ad transmissions as evil!

  2. Wow! by Yoda2 · · Score: 4, Funny

    I never realized that ole Bill was such a tech expert!

  3. I love qmail. by BoomerSooner · · Score: 4, Informative

    I suggest buying the book if you plan on implementing it. The online version isn't enough (and covers about 1/3 what the printed version does).

    Make sure you follow the relay-ctrl section very close. You could be a source of spam if you do it wrong!

  4. Re:Just like always... by BoomerSooner · · Score: 4, Funny

    Lol, it will give the spammers unlimited addresses by which to cover themselves, thereby eliminating the need to hijack others servers.

    Or at least that is my interpretation of how IPv6 would affect spam.

  5. Sounds neat, but PGP'ed network sounds better. by Creepy+Crawler · · Score: 4, Interesting

    I though of this when it comes to SPAM:

    Have a computer certified by another individual and create a public/private key for that computer. Do this step to create a network of ID's for the servers.

    Now, have admins "Sign" a certain public text that allows servers to trust other servers.

    If Company X is being real lax (eg: promoting spam), write a revoke key and put it on a few OTHER machines. Thien it'll propigate throught the mail-net to disallow all connections from that MAIL server.

    Of course, mail servers and clients would have to have different trust relationships ala ssh.

    For them mail geeks: would this be feasible? I could see CPU load go rocket...

    --
    1. Re:Sounds neat, but PGP'ed network sounds better. by Mr.+Sketch · · Score: 4, Insightful

      If Company X is being real lax (eg: promoting spam), write a revoke key and put it on a few OTHER machines. Thien it'll propigate throught the mail-net to disallow all connections from that MAIL server.

      Just curious, how is this different from a blacklist? It sounds like the same concept, just different technology.

    2. Re:Sounds neat, but PGP'ed network sounds better. by kaisyain · · Score: 2, Insightful

      Who gets to write a revoke key?

    3. Re:Sounds neat, but PGP'ed network sounds better. by arth1 · · Score: 4, Insightful

      Having to generate and spread keys and key revocations non-stop sounds like a very high maintenance system.

      Well, at least that would give some techies back their jobs, although I'm not too sure they would like their new job...

      Regards,
      --
      *Art

  6. Hurrah for blacklists by Anonymous Coward · · Score: 5, Insightful


    now all we need to ask is how long till this "community" service that they provide will take before they start charging $ for querying it just like every other blacklist, making blocking spam a privilidge for the rich (i believe MAPS is over a 1000$ a year)

    1. Re:Hurrah for blacklists by qtp · · Score: 4, Informative

      You're probably right, they will eventually want to charge money, and, IMHO, thier solution looks overly complicated and manipulable (spammers pay for "trusted" members to list them as "trusted").

      It would be better if ISPs participated in services like the ORDB, SORBS and Monkeys that have simple network testable criteria for listing open relays. Spews, Spamhaus, and DSBL have reputable lists of usernames and addresses that send spam. If ISPs and admins would participate in projects like these, the spam problem would be greatly reduced. And it seems that these projects are mostly run by admins who are interested in blocking spam, not selling a service.

      By the way, MAPS is currently free for individual use (look at the bottom of the page).

      --
      Read, L
  7. Distrustful of Network Level Censorship by werdna · · Score: 3, Insightful

    No thanks.

    Your spam may be my correspondence -- I may want to get mail from those whose conduct you find abhorrent. Today, a network may responsibly be censoring only unwanted and unsolicited commercial e-mail. Next week, the powers-that-be-in-the-networks start censoring geek news.

    To protect our liberties, spam control should be decentralized -- as close to the last mile as possible. Yes, of course, this means that the supposed great harm of spam -- huge volume transmissions through the network -- will not be interdicted closer to the source. In my view, an effective end-point spam model is as likely to reduce volume as a network centered model: the idea is to reduce the INCENTIVE to spam -- that will reduce the volume.

    Centralized technical measures simply invite the spam wars to continue, provide centralized points of failure, will not diminish spam, and will assure that powers-that-be have ample new abilities to censor speech.

    1. Re:Distrustful of Network Level Censorship by kaisyain · · Score: 3, Insightful

      To protect our liberties, spam control should be decentralized -- as close to the last mile as possible.

      It is. I'm the one deciding whether or not to use this service.

    2. Re:Distrustful of Network Level Censorship by RT+Alec · · Score: 4, Insightful

      Spam control with RBLs is, in fact, decentralized. There are many RBLs to choose from, and any that are too severe will not be used for long if they generate too many false positives. As a system admin, I have my choice. I use 4 RBLs right now:

      • spamhaus.relays.osirusoft.com
        (this is a mirror of the Spamhaus Block List) Well known spam operations, and is checked hourly.
      • dialups.relays.osiruSoft.com
        (details at OsiruSoft) This list is of DHCP IP addresses of home users (DSL, cable, dial up).
      • dnsbl.njabl.org
        (extensive details of what's on this list)
      • rbl.restongeek.com
        I maintain this one myself for anything I want all my servers, primary and backup MX, to block
      And there are many more to choose from. I am very happy with my results, it is a pleasure to see the reports of the mail that is blocked (see my /. journal for a sample report). If I start to think maybe one of these lists is a little too severe, or someone lets me know that there are problems with one or more of the lists, I will delete it and pick another. Or maybe not. It is my choice, I want to keep down the spam on my system, for my sake as well as my clients'.
    3. Re:Distrustful of Network Level Censorship by gfody · · Score: 4, Insightful

      problem is too many of you are deciding TO use it. AOL, Hotmail, MSN to name a few.. the 'want' to filter spam at the server level hurts legit email marketers, inconveniences recipients of legit email marketers, and to the parent's point - creates a target for spammers.

      server side email filtering is BAD, BAD, BAD!

      what if the US Post Office started throwing out your clearing house sweepstakes and credit card applications before you ever got them? problem is theres two kinds of people in the world.. those that say alright no more junk mail, and those that ask, how do you do that without getting a false positive once in a while?

      --

      bite my glorious golden ass.
    4. Re:Distrustful of Network Level Censorship by Delta-9 · · Score: 3, Interesting

      "Your spam may be my correspondence"

      Thats why I would recommend SpamAssassin. All spamassassin does is label the mail with a "spam level" it is then up to each individual user to filter out the spam at the user level, not at the server level.

      A much better method for letting your 'correspondence' get through while other users spam doesn't.

    5. Re:Distrustful of Network Level Censorship by i.r.id10t · · Score: 2, Insightful

      So add something like the "evil bit" to a mail header, server side. Then if the end user wants, they can filter it out or not, based on that extra header info.

      --
      Don't blame me, I voted for Kodos
    6. Re:Distrustful of Network Level Censorship by John+Hasler · · Score: 4, Interesting

      > Your spam may be my correspondence -- I may want
      > to get mail from those whose conduct you find
      > abhorrent.

      You _want_ to receive mail from the bastards that are forging my domain in their penis-enlargement ads and fake PayPal confirmation requests?

      > Today, a network may responsibly be censoring
      > only unwanted and unsolicited commercial e-mail.
      > Next week, the powers-that-be-in-the-networks
      > start censoring geek news.

      I'm the only power that is on my network.

      > To protect our liberties, spam control should be
      > decentralized -- as close to the last mile as
      > possible.

      Can't get any closer to the last mile then right here in my office.

      > Yes, of course, this means that the supposed
      > great harm of spam -- huge volume transmissions
      > through the network

      "Supposed"? More than half my email is spam. And that's on a shared dialup.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    7. Re:Distrustful of Network Level Censorship by gfody · · Score: 2, Interesting

      fact is, its impossible to determine if an email destined for your mail box is solicited or not. the server could tell you it just received 100,000 that look just like it.. but that doesn't change the fact that somebody sent you an email and you may or may not want to look at it.

      unless you know for a fact that your not subscribed to any mailing lists so anything coming in bulk most definately isn't for you, then sure use the server's insight to filter those messages - but seriously there aren't many who fit in that category.

      if you filter your email, you will get a false positive. its simply a matter of when.

      --

      bite my glorious golden ass.
    8. Re:Distrustful of Network Level Censorship by Jahf · · Score: 5, Interesting

      and SPAM is WORSE, WORSE, WORSE!

      If you want to receive the junk, don't use one of those services, but I fail to see how someone else choosing -to- is a problem.

      Your analogy is flawed. I have a choice to use AOL|Hotmail|MSN|spamassasin|etc and I pay for the connection to download, view, respond and delete my email (not to mention the time it takes out of my day). I don't have a choice whether or not to use the USPO and it takes FAR less of my time to sort out my real mail than it does email.

      If SPAM could somehow be filtered out at the router level, then I would agree with your USPO analogy and would be throwing an utter FIT. But it isn't possible (is that a web page or a webmail, is that IMAP, is that secure IMAP, is that POP3, is that email tunnelled over SSH ... no way).

      Until there is legislation with -teeth- and a way for the little guy to prosecute you are not going to see many people agree with you about server side filtering.

      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
    9. Re:Distrustful of Network Level Censorship by stewby18 · · Score: 2, Insightful

      You're describing a naive, trust-or-don't approach to the "evil bit" suggested, which is stupid. All a system like the bulk marker would do is add more information to use to improve an existing filtering system, with baysian analysis, whitelisting, etc.

      Clearly, there are many people willing to risk false positives to filter out the crap, so why shouldn't a system which helps them at no risk to those who don't filter be implemented?

      As someone pointed out... if this is voluntary, why should anyone upset about the idea of others choosing to filter their own mail?

    10. Re:Distrustful of Network Level Censorship by gfody · · Score: 2, Interesting

      the point is filtering is bad.

      if your going to get a false positive why filter?
      as the hate for spam rises more people are saying fuck the false positive rate - which is a HUGE mistake.

      why should I care of somebody is filtering THEIR email? because if im sending them a message, that is MY message.. if they don't see it then suddenly I have no voice.

      spam is a real problem and filtering is not the solution.

      --

      bite my glorious golden ass.
    11. Re:Distrustful of Network Level Censorship by John+Hasler · · Score: 3, Insightful

      > if your going to get a false positive why filter?

      My spam folder gets several hundred messages each day. It is _impossible_ for me to read every one of them to determine if it is really spam. I glance over the subject lines and read the occasional borderline one, but I _guarantee_ you that I am already getting false positives. If I dropped spamassassin and allowed the spam into my other folders I would get even more false positives as I impatiently deleted every other message as obvious spam.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    12. Re:Distrustful of Network Level Censorship by stewby18 · · Score: 2, Insightful

      spam is a real problem and filtering is not the solution.

      And what is a real solution? If you say legislation, I'll just laugh.

      if your[sic] going to get a false positive why filter?

      What do you recommend for people who's time is too costly to read everything at the insanely high noise/signal ration? Stop using email? You talk about false positives like they happen all the time... do you have any idea how low the false positive rate is for a good filtering system? You might as well say that no-one should use mail, because your letter might get lost en-route... that's probably a hell of a lot more likely than any normal user hitting real problems with a good filter.

      Unless you routinely send emails with subjects like "GET VIAGRA CHEAP NOW!!!" to 1,000 of your closest friends, you probably have nothing to worry about. But even if you do: it's always the recipient's choice whether or not to accept communications. Do you tell all of your friends to read all spam snail-mail, on the off-chance you send them a letter that they might mistake for a credit-card offer? Do you tell them to listen to every telemarketer pitch, in case it's you calling but you are slow to notice that they picked up, and call them by their last name? If so, do they listen? Why should spam be any different?

    13. Re:Distrustful of Network Level Censorship by waferbuster · · Score: 2, Insightful
      Where do I sign up to have the post office throw out the clearing house sweepstakes and credit card applications before I get them? Along with all the other stuff sent out to >1000 people?

      As far as I care, anything sent to "Resident" can go straight into the trash can.

      --
      I'm an individual! Just like everyone else!
  8. my spam defense: by di0s · · Score: 4, Funny

    quite simple really:
    Right here.

    1. Re:my spam defense: by pigscanfly.ca · · Score: 2, Funny

      I'm canadian . Will rifles work? :-)
      JK
      See : we have very restrictive hand gun control , but a minor can buy a shotgun/rifle if it is for "hunting" purposes . They never said hunting what....

  9. Re:Just like always... by bajo77 · · Score: 2, Insightful

    What the hell does IPv6 have to do with spam?
    Well it makes it much harder to scan for servers that are vulnerable, either for hijacking or open smtp services.

  10. Great by The+Bungi · · Score: 5, Interesting
    new site called Trustic which uses a trust system

    Another blacklist (with an appeals process). Run by a guy that made his millons selling eGroups to Yahoo!.

    Dunno, this doesn't look too promising.

  11. Here's my question. by fleppir · · Score: 4, Insightful

    Any spam measure taken at a server level could induce false positives.

    I manage paid-for e-mail e-zines which I mail using PHP and sendmail (read:forged headers until I'm big enough to run my own server).

    Wouldn't most server-layer anti-spam measures catch my very suspicious HTML e-zines, even if paid for?

    --
    I am the Barber of Seville.
    1. Re:Here's my question. by gfody · · Score: 2, Informative

      have you considered using an asp marketing service? you could upload your templates/e-zines and your mailing list and schedule the deployment. depending on how much you send its probably cheaper than hosting your own server, plus you dont have to worry about being filtered or black listed. check out www.dynamicsdirect.com

      --

      bite my glorious golden ass.
  12. Must be a member to appeal? by liquid-groove · · Score: 2, Interesting

    I have no interest in joining such a group. How long until they post $insanely_large_num of members as a way to try and prove the validity of their method? Bet they'll forget to mention how many members were dragged in kicking and screaming just to appeal placement on the list.

  13. Not too impressed by augustz · · Score: 3, Informative

    Please remember that the service is beta and will start charging for advanced features once it is out of beta. As usual, worth waiting to see if it goes totally commercial. Looks like they plan to charge to allow listing multiple "trusted" servers.

    A fair number of the spams I submitted came from servers that had already been voted on as TRUSTED by other users. In other words, my credability went down by reporting them as spammers.

    http://www.trustic.com/ip/219.94.114.6 for example and I've got a fair number of others. Folks are either polluting the space intentionally or being very very sloppy in reporting trusted servers.

    Groups like spews have a very nice evidence file, and it gets reviewed by a person. I've generally been impressed with the real community blacklist sites.

    Technically the site works great and is super fast. But wouldn't follow the O'Reilly recommendation and pick it as my primary blacklist just yet (even through the guy doing the site worked with the author of the article to make changes.)

    My two cents.

  14. Just junk SMTP? by msgmonkey · · Score: 4, Funny

    Why do n't the big players come together and come up with a better protocol instead of people trying these elaborate schemes?

    Have a period where you have a parallel system going and then have a cut off time where SMTP servers die.

    All it will take is the top ISP's in each country and large corporations to stop accepting SMTP mail and you'ill be sure that everyone else will then fall inline.

    Or am I just being too radical?

  15. That depends upon their methodology. by Population · · Score: 3, Informative

    I use SpamAssassin with Bayesian filtering.

    Your forged headers are noted and factored in when determining whether you are spam or not. But by themselves they are not sufficient to mark you as spam.

    Your e-zine will tend to have the same format and similar content from issue to issue. The Bayesian filter can detect this and let it through.

    I'm running this setup at work for our offices and it works very well. The only real problems we've had is monster.com's resumes. But even that seems to be working now.

  16. Just like /.! by quacking+duck · · Score: 2, Funny

    Sounds a bit like the /. comment moderation system!

  17. Re:Just junk SMTP? Not Possible by msgmonkey · · Score: 2, Insightful

    Why not? Is n't there a time where we envisage the whole 'net will be IPv6? And thats every machine, not just servers. Eventually IPv4 will die so I dont see how SMTP deing would be a big deal.

  18. IP banning by dtfinch · · Score: 4, Interesting

    I know a local business that was hurt badly because the subnet that their ip addresses belonged to was added to a blackhole list. They only bought a few ip addresses and there happened to be a spammer on the same subnet. They never participated in sending spam and were never told that their ip address was blocked. Many of their emails simply did not arrive at their destinations, for no clear reason. They write and sell network security products, intended to help detect and identify hackers or even spammers looking for open relays so that they can be investigated and possibly prosecuted. This was a case where anti-spam technology hurt the near opposite of the kind of people it was meant to. I don't think they ever succeeded in getting their addresses removed from the list. All the time that went by before they knew they were on the blackhole list nearly led them to bankrupty.

    1. Re:IP banning by Tehrasha · · Score: 2, Insightful
      I find it hard to believe that there was no indication that they were being blocked. In my experience, most ISPs that use blacklists are more than happy to send bounces proclaiming quite clearly in no uncertain terms why the mail is being blocked. To simply drop the message in /dev/null without a bounce would do nothing to stop the flow of spam, as all email would appear to have gone through without trouble. ie: it was received, therefore keep spamming.

      Spammers and the ISPs who facilitate them need to be held accountable. Blocking spam on the receiving end via filters is always going to be a losing battle. Blocking at the server by IP is the next best solution, but far from ideal. Making spamming difficult and/or expensive at its source is the only real way to stem the pink tide.

      Until ISPs begin to enforce the AUPs they claim to operate under will there be any real change. Even if that means having to be forced to do so.

    2. Re:IP banning by NerveGas · · Score: 2, Informative

      I've turned down some attractive deals with large, key providers for *years* precisely because they blatantly tolerated spammers.

      As far as I'm concerned, if the netblock in question was blacklisted with the RBLS that are taken more seriously, it was precisely because the provider didn't take any sort of action to contain or prevent spamming. And if you sign up with a provider like that, well, don't come crying to me when you're affected, too.

      All the time that went by before they knew they were on the blackhole list nearly led them to bankrupty.

      It takes less than five minutes to see if you're on the major blacklists, and any administrator who doesn't do it on a regular basis simply isn't worth his pay. I certainly don't have any sympathy for them.

      I also have a hard time believing that they simply went about their business for that long without realizing what was going on. How brain-dead do you have to be to realize that a particular person never responds to your email? How long does it take you to realize that SEVERAL people never respond to your email? And for the email problem to truly cause bankruptcy, you're talking about some very important email: The kind that you don't just send and forget. If my users think that someone isn't getting their email, you bet I'll hear about it. And you bet I'll track down the reason.

      Really, your description of them makes them sound completely incompetent. For the sake of those involved (and the rest of the world), I hope that's not so.

      --
      Oh, you're not stuck, you're just unable to let go of the onion rings.
    3. Re:IP banning by Tadghe · · Score: 2, Insightful

      1. If you purchase IP's (actually "lease") in this day and age, you better damned well check them first... SPEWS and most of the other DNSRBL's will let you do so easily.

      2. The idea of listing all or part of a class of IP's is intended to pressure the provider to change their habits of hosting/supporting spammers. Your case is a good example of why they would want to do so.

      When spammer friendly ISP's stop allowing spammers to jump from IP to IP within their netblock, and start being a bit responsive to abuse complaints, this type of situation will go away.

      --
      Bugs Bunny was right.
  19. Relying on RBLs by GC · · Score: 5, Informative

    There are many problems with using RBLs to block connections. A very good description can be found here:
    I've found SpamAssassin a fairly good, rather than block messages from RBLs it analysis message content, adds points to messages in RBLs and checks known Spam databases such as Razor and Pyzor. Rules matches are given a score, and messages with a total aggregate score are tagged in the message headers, allowing users to filter these if they want to.
    A main advantage of this method is that no single rule can flag a message as spam, hence legitimate mail sourcing from the badly configured mail relay has a chance of getting through, and in my mind it's probably a particularly bad idea to block any email unless it's actually addressed to you.

  20. Re:Just junk SMTP? Not Possible by Xerithane · · Score: 5, Interesting

    Its simply too late to dump SMTP. If we would have thought about this 5 or so years ago it maybe would have been possible but now we have so many using this system its inpossible to change to a newer standard.

    Just like gopher with http? You can also add a plethora of validation ontop of SMTP. SMTP, as a protocol, isn't bad. It's possible to add validation, to only accept from SMTP servers that use some sort of valid key.

    Then you get to keep SMTP, and slowly migrate servers. Setup a non-profit organization for distributing SMTP authentication keys that are unique to the mail server (think SSL) and if the mail comes from that server is spam, you just block that servers key. If the server doesn't have a key, put it into a validation list or send backa response saying they need to use a mail server that supports signed-SMTP.

    Easy solution, not a complete overhaul of SMTP. The problem comes in with who signs the certificates, because then you have to trust the source that delivers them. Like Verisign, et al.

    --
    Dacels Jewelers can't be trusted.
  21. Or you could use a better mailer... by SuperBanana · · Score: 5, Informative
    Here's an article talking about the details of implementing a network level spam defense with Qmail

    Or, you could just use Postfix, which:

    • is almost entirely compatible with sendmail. It's pretty much drop-in-and-go.
    • adheres to RFCs(and there's a warning for any configuration option which would violate said RFCs)
    • has builtin anti-spam tools- you can turn on, individually, any of a dozen-plus different checks, such as making sure the claimed hostname in the HELO matches the IP the connection is coming from(you can do this several ways), or that the claimed hostname matches the mail-from user@hostname(ie, if you're coming from spammer.com, you're not gonna be able to claim to be joe@yahoo.com), etc. It's also one builtin command to check an RBL.
    • has a really sharp cookie of an author(the guy wrote tcpwrapper), who isn't widely regarded as an obnoxious twit
    • is completely free

    Personally, I refuse to use any software written by DJB as a matter of principle. The guy flagrantly ignores RFCs because he simply feels like it and arrogantly thinks he knows better(and further that there is benefit to ignoring said RFCs).

  22. Blackists by Osrin · · Score: 3, Interesting

    I run an SMTP server off my comcast cable connection... I've pretty much been learning as I go. Five weeks ago I began as a total novice, not knowing what an open relay was I spent 5 days with no authentication and as a result I was kind enough to forward some 22k messages offering investment advice. As I've learned a little more about the process... I've found ORDB and MAPS to be pretty useful and successful when it comes to blocking open relays. AOL annoys me the most, they block ranges of addresses that are dynamically allocated by ISPs and as a result I can't mail any AOL users. That's probably no big deal, I just feel descriminated against. There must be scope for a simple "Setting up your own mail server" FAQ.

    1. Re:Blackists by Osrin · · Score: 2, Interesting

      "For ever[y] *legitimate* email message that comes from a dial-up IP address, I (honestly) get 10,000 + that are spam." I'm quite sure that this is true... however I feel that the "people like you" comment is a little unfair. I would have thought that the more people that go through the process that I have over the last few weeks the better. I now understand a LOT more about SMTP, I understand a lot more about spam and I undestand a lot more about the tools that exist on the internet to help me combat the issue... I also understand how I can interpret the log files from my server and extract information that I can use to contribute to combating the issue. In your position I would probably make the same decision... it would be great to have a "test me" site that I could run my server through though that would allow me to participate with the larger community. While I accept that as a novice I made some mistakes... I regret seeing my ability interact with many hosts on the internet crippled because of the actions of others.

    2. Re:Blackists by archbish99 · · Score: 2, Informative

      ORDB offers such a service, actually -- they run quite a variety of tests against servers to see if they fall for any of a number of forms of relaying tricks. I, thankfully, fell into the opposite hole -- I couldn't relay from anywhere when I set up qmail, so I had to go back and figure out how to enable relaying for localhost and the local network. ;-) I ran the ORDB test set against my server once I thought it was up, and again a month or so ago when I had a scare which *looked* as if someone had sent a mail through my server. (Turned out it was a different mistake, and not a relay issue at all.)

    3. Re:Blackists by Phroggy · · Score: 2, Informative

      however I feel that the "people like you" comment is a little unfair.

      A little perhaps, and it's great that you're no longer causing a problem, but the fact remains that for a brief period of time, you were part of the problem. Spam came through your server. There are many others like you - good intentioned, but making an honest mistake once, quite by accident, and then fixing the problem and never doing it again - and these people collectively make up a very significant source of spam. That's why AOL blocks you.

      That said, I'm glad you've learned enough about it now to be a responsible Internet citizen, and I certainly don't want to discourage you from continuing on that path. Something you may want to look into is forwarding all mail destined for @aol.com to your ISP's SMTP server; they should be able to relay it to AOL (and since you're using one of your ISP's IP addresses, they should allow relaying from you).

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  23. Qmail is NOT FREE by SuperBanana · · Score: 4, Insightful
    qmail is completely free and folks that claim it isn't are just trolls.

    Qmail is NOT FREE. Last I looked it was distributed without a license; now apparently it has a license, but one with oddball restrictions. If you don't believe me, do a google search with the keywords "qmail debian legal" and spend 30 minutes or so going through the various discussions.

    1. Re:Qmail is NOT FREE by supersudssoaker · · Score: 2, Insightful
      qmail is free, but the license is not GPL or on the list of licenses approved by the outfit that approves free licenses (OSI?).

      You can download it without monetary exchange, install it where you like, modify it, etc.

      You cannot modify the source and distribute it. You can distribute the unmodified source tarball with patches that modify it, like an SRPM. You can distribute binary versions as long as the files are the same as would be created by installing from an unmodified source tarball.

  24. Read Your TOS. by Electrawn · · Score: 3, Informative

    5. Acceptable Use Policy; Prohibited Uses of the Service.

    b. Prohibited Uses of the Service: Use of the Comcast Equipment or the Service for transmission or storage of any information, data or material in violation of any federal, state or local law or regulation is prohibited. In addition, unless you are subject to a Service plan that expressly permits otherwise, the Service is to be used, and you expressly agree to use it, solely in a private residence, living quarters in a hotel, hospital, dormitory, sorority or fraternity house, or boarding house, or the residential portion of a premises which is used for both business and residential purposes. Without limiting the generality of the foregoing, the Service is for personal and non-commercial use only and you agree not to use the Service for operation as an Internet service provider, a server site for ftp, telnet, rlogin, e-mail hosting, "web hosting" or other similar applications, for any business enterprise, or as an end-point on a non-Comcast local area network or wide area network.

    I'll keep my toungue in cheek for any other comments.

    1. Re:Read Your TOS. by Osrin · · Score: 2, Interesting

      "for any business enterprise" This is purely home use... only me an my wife using it for email. I'm within the bounds of my contract. As for the other comments, I was expecting some, I openly admit that I threw the box up with little or no understanding of the technology.

  25. RBL's and Firewalling by Anonynmous+Cow · · Score: 2, Interesting

    I wrote a tiny little perl script that tails the maillog and firewalls (kinda teergrubes really) hosts who get a "554 Service Unavailable" more than 3 times.

    I'm not coder, so it doesn't expire entries... I'm looking for someone to help make this work even better. I love the thought of causing spammers pain - and this could do that.

    You can get the script from my webpage at http://www.jasonjordan.com.au

  26. Other choice than Trustic - SPAMCOP by Swift+Gilmer · · Score: 2, Informative

    I have been using SPAMCop for the past 5 months at my work. I am also using QMAIL as my mail server and it took me about 10 minutes to get it hooked into the Spam Cop Database. The best part it is free and it it blocks about %80 of SPAM that gets delivered - I will just have to live with the other %20. Has anyone heard of other Spam IP Databases that are available for public use?

  27. Re:RFC violations by supersudssoaker · · Score: 2, Insightful
    pipelining, for one

    I googled and followed a thread, don't know if it's the one you are referring to, where Matti Aarnio (Zmailer author) says

    Arnt Gulbrandsen wrote:
    > Uhm. If so, that would necessitate speedy reconfiguration of my
    > boxes... so I tested it too, and qmail appears to handle pipelining
    > okay. I verified with tcpdump that the dozen-odd RCPT TO commands in
    Yes, I agree. Without knowledge of the qmail source, I have no

    RFC-2821 for another. RFC 2821 and RFC 1123 for two more

    qmail predates RFC2821, but there is a patch to bring it up-to-date if an adminstrator so desires. What part of RFC1123 does it not comply with?

    The difference is that while Postfix CAN reject based on HELO etc...qmail seems to do so by DEFAULT.

    qmail does not reject based on HELO.

  28. Using Trustic with SpamPal by NaDrew · · Score: 2, Informative
    I use SpamPal with the Bayesian filter as my client-side spam filter on Win2K. It works well enough but I'm always looking to improve things, so this article gave me the impetus to see if SpamPal could be made to use Trustic's DNSBL in addition to its preconfigured lists. The answer, at least for SpamPal Beta 1.295, is yes--using the "Extra DNSBL Definitions" section of the Options dialog. Here are the steps I used to add Trustic to the DNSBLs used by SpamPal:
    1. Create a Trustic account
    2. Once you've verified your registration, go to Trustic's DNS Query Information page for your account and note the second DNS query address.
    3. In SpamPal, open the Options dialog and drill down to the "Extra DNSBL Definitions" section. Click the "Extra DNSBL Instructions" button for information on adding a DNSBL to SpamPal. Read this text and then close the file.
    4. Click the "Extra DNSBL Definitions" button. This opens "extra_dnsbl.txt". Add a new DNSBL entry as follows:
      LIST Trustic
      NAME Trustic DNSBL
      TYPE STANDARD
      WEBSITE http://www.trustic.com/
      ZONE queryaddress
      DESCRIPTION Trustic is a community-based block list that prevents untrusted servers from sending spam. It is a new approach to the spam problem, and it is better than existing solutions.
      Substitute the personalized query address you saw in step 2 above for queryaddress.
    5. Save and close "extra_dnsbl.txt", then exit SpamPal and relaunch it.
    6. Open SpamPal's Options dialog and drill down to Spam-Detection, Blacklists, Public Blacklists. Trustic should now appear on the list. Select it and click Apply, OK.
    That's it--SpamPal should now be checking Trustic's DNSBL for your incoming mail. Trustic may require additional RESULT_CODE settings--I'm waiting for a response from Trustic and will follow up if needed.
    --
    Vista:XPSP2::ME:98SE
  29. Re:Spews by CryBaby · · Score: 3, Informative

    I initially thought spews was completely over the top. My first encounter with them was due to a client's server getting blocked when he inherited some new ip's that had previously belonged to a spammer. I couldn't believe that these people had so much control over so many networks (almost zero mail got out) and that there was NO official or standardized removal procedure. But after reading the FAQ, joining the newsgroup and asking a few polite questions - my client was delisted within a day. Also, the evidence file on these ip's was truly damning.

    Their heavy-handed approach seems to be the only way to make a dent in the spam onslaught. I watched employees of major ISP's post to the newsgroup humbly asking for removal only to be told "kick your spammers off and you will be delisted, when we feel like it. You took too long to respond to our notices" As the spews philosophy goes, these people will only pay attention to the problem when it hits their bottom line - i.e. floods of customer complaints and cancelled accounts because no one can send mail from their entire polluted network.

    Back to the topic, I have a lot more faith in the hard-headed anti-spam warriors at spews than I do in some touchy-feely "trust network". It sounds far too vulnerable to manipulation and, based solely on some of the comments here, potential market pressure in the future.

    Thanks for listening...

  30. IP banning is bad by Animats · · Score: 4, Insightful
    Unless you have some way to identify dynamically assigned IP addresses, IP banning hits innocent parties too often. Every time Joe Sixpack, running Windows XP Home Edition on a DSL line, gets a virus that spams, the next few people to get a lease on that IP address have mail blocked.

    There's got to be a better way.

    1. Re:IP banning is bad by William+Tanksley · · Score: 2, Insightful

      That specific example won't normally happen -- you have to repeatedly be the source of spam and do nothing about it to get on most RBLs. When you do get on it, it's more likely to be your entire ISP than just a single reassigned IP (because the ISP was a spamhaus).

      HOWEVER, I dislike RBLs for the same reason you do, and I like Bayesian filtering because it prevents that problem. The problem is that the better filtering is at getting spam without killing valid use, the slower it gets. Bayesian filtering is relatively slow.

      So... I've been working on defining a multi-layer client/server antispam solution. There are multiple layers of defence:

      1. The blocklist: people who have been abusing the greylist system recently. Deny all communications from these IPs, but take them off the blocklist if their entries get stale (i.e. they haven't been abusing for a while).
      2. The greylist: people who might be risky. This includes people with IPs on RBLs, people who sent something that a user tagged as spam, etc. Anything sent from these IPs goes into the greylist system Slashdot looked at earlier.
      3. Filtering -- probably DSPAM (a very nice server-side Bayesian filter).

      This is just a summary; I'm leaving out a lot of detail, like how you tell when to put someone on or take someone off of the blocklist. But I hope it gives the idea. Again, the purpose is to throw out heavy time-wasters as quickly as possible, while not wasting the time of legit users or putting their communications at risk.

      -Billy

    2. Re:IP banning is bad by Animats · · Score: 2, Informative
      That specific example won't normally happen...

      If only it were so. It happens to me about once every two months, when somebody using SBC DSL sends out spam and I get their IP address later. There are a a few ISPs that set temporary IP blocks within their own network, and these persist for a day or so. I then get mail bounces for a few people I really need to reach, which is a pain.

  31. Re:RFC violations by Electrum · · Score: 2, Insightful

    The difference is that while Postfix CAN reject based on HELO etc...qmail seems to do so by DEFAULT.

    No, it does not. In fact, you don't even need a HELO with qmail.

    Also, take a look at djbdns some time- it violates RFC's left and right.

    Which ones and how?

  32. WARNING: Not the same SpamCop by Phroggy · · Score: 2, Informative

    Be aware that SpamCop.com is not the same as SpamCop.net - I'm not sure who SpamCop.com is, but having worked in the abuse department at an ISP, as well as having been a paying subscriber for a couple of years now, I can say that SpamCop.net is absolutely wonderful. They're best known for automating spam reporting - you paste in your message with full headers, and they figure out where it came from and prepare an e-mail to be sent to the administrators of those networks. Upon your approval, the complaints are sent from a unique SpamCop.net e-mail address, so your own e-mail address is not revealed (in case the complaint is forwarded to the spammers), yet you still receive any replies (SpamCop forwards them back to you).

    On top of that, they also offer a service for $3/month that includes just about everything you could look for in an e-mail provider - pop3, imap, webmail, the ability to retrieve mail from other POP3 (and recently AOL and Hotmail) accounts, e-mail forwarding, easier spam reporting, and of course, spam filtering using a variety of blacklists (including SpamCop's own automated RBL) and recently SpamAssassin. It's all fully configurable so you can use it however you'd like.

    Again, I have no connection to them, but SpamCop's reporting really does great things towards reducing the total volume of spam going around (by informing network administrators of the problem in a clear and consistent format so it's easy to deal with). I've only seen a couple of abuse reports from SpamCop.com, compared to thousands from SpamCop.net.

    --
    $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
    $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  33. A spam free world... by Digital+Dharma · · Score: 2, Insightful

    Is but an attitude shift away. All you have to do is follow Hotmail's idea of an exclusive address list. Nothing comes through for any individual user except what's from addresses in that user's personal address list. Keep the filtering feature on the client side, so all the mail server does is essentially route mail traffic, like any router should. Keep the processing load on the client. If the users want an email from a certain source, they're going to have to add the address in manually. A little unique cert generation during the initial mail client configuration, and you keep the email shotguns at bay. If someone has to reinstall their Operating System and thus has to regenerate a cert, set up an easy way for the 2 parties to re-exchange certs. Maybe utilize a website for this feature. Like public PKI... There's no reason not to do it this way with most new desktops approaching the 3 Ghz range. The users are going to have to take a proactive stance to spam, bottom line. No matter what legislation you push through, spammers will always find a way around any defenses we put up. Those who are aware of the nature of TCP/IP and programming know that whatever you implement, someone else can break. It would be trivial to force the end user to take control of their lack of spam, and thus break that particularly annoying 'feature' of open standards.

    --
    End of Line.
  34. Re:Spews by augustz · · Score: 2, Interesting

    I think your experience mirrors that of many around spews.

    If an ISP ignores / cans complaints they can get the runaround trying to get off. Once an ISP's abuse dept has developed and ongoing working relationship with net-abuse and a timely response to complaints things usually go much more smoothly.

    The folks at spews are agressive no question (I happen to be blacklisted currently through zero fault of my own, netblock block). And some of the folks reporting (not spews admins) can describe things with a bit too much hyperbole. But in terms of evidence to back up blocks, and a group that largely gets it right and which some folks voluntarily use, spews does a neat job, and the heavy handed approach is surprisingly effective.

    I also happen to like ordb and friends which do realtime automated testing that stirs up less of the personal stuff.

    Trustic I'm not sold on yet.

  35. No, it's a numbers and money game by RallyDriver · · Score: 2, Insightful

    I am the CTO at a company that provides hosted internet services, including email. We send around 3m pieces of email a week to our customers (opt-in only) lists. Speaking from the legitimate provider's viewpoint, I have a couple of observations:

    1. RBL's don't work - community RBL's are used by relatively few mail systems out there; perhaps 1% of email addresses at most have RBL filtering on them at server or personal level, and the audience of any one RBL is just too small for it to have any value. Yes, using an RBL may stop *you* from receiving (some) spam, and in the short term that's all you care about, but it doesn't stop spam from being of value to the spammer. Just like the drug war, we will only win by making it unporfitable to send spam.

    The biggest impact we see from RBL's is fielding individual "false-positive" complaints; we don't allow customers to send spam, so we get very few, but there's always the occasional idiot who signs up for a list and forgets, and who is too proud to click on the unsubscribe link.

    What matters for delivery of my cleints' legit mailing lists, and what also a spammer cares about for delivering his spam, is delivery to the big guys - AOL, Yahoo, Hotmail, Earthlink, etc. If you're trying to email Joe Public, those guys have 50%+ of the market. Any successful spammer will have his energies focused on end-running their filters and will give a fig if RBL'ed.

    2. IP-based filtering for consumer connections *does* work - ISP's and universities need to block port 25 outbound from consumer connections and desktops / 802.11 respectively. Spammers need a network connection; cut off their main source. This would stop not only transient spammers, but those who hack cable modem users.

    AOL's efforts here on behalf of their users are commendable, but blocking these IP's *at source* where the blocker is making an informed decision and has the data to keep the filters accurate, is the way to go; a grassroots effort to inform ISPs about the benefits of this would be valuable.

    This would leave spammers who are using business-class connections (where the ISP thus delegates the responsibility to run mail servers) which are much, much fewer in number and thus much easier to police.

    Before anyone who runs their own SMTP server on tehir home Linux box cries foul, I should point out thay I do to, and I just have sendmail push everything through my ISP's SMTP relay. Big deal.

    3. Money - money is they key to this. Make it uneconomic to spam, and the problem goes away.

    I have one solution which I think wouls work well; like RBL's or source-end IP filtering, it suffers from the problem that it requires a large critical mass, so I think legal is the best route: I am speaking in terms of the USA, but this would work in other countries.

    - anyone sending (pick a number, say 50k) pieces of email a month or more must register with the national email registry - this will cost $10k per year (this kind of price is essential to keep the spammers out, and it covers the cost of operating it). ISPs and email distributors are required both by law and defacto to sign up to be in business, and to them it's a modest cost.

    - the registry will maintain an anti-spam policy and audit registrants against their track record of enforcing it; policy would need to include things like each email having clear unsubscribe info, info on where the address came from, etc.

    - there will be a national "do-not-send-opt-out-mailings" list against which email marketers must clean lists which they buy; many countries have had this kind of list for phone and snail mail for quite some time, e.g. UK

    - ISPs can then use the registry as a whitelist, and simply block every other IP address. Any business / individual too small to need to register can just forward their email via their upstream provider, who is then on the hook to manage their email behaviour.

    Yes, it takes away some freedom to operate ones own email service, but equally I don't ru

  36. Automatic Reporting by Specialist2k · · Score: 2, Informative
    Im currently pushing all the spam SpamAssassin finds to my Trustic account with procmail, to register my negative recommendations.

    IMHO, automatic reporting is a bad idea. SpamAssassin isn't perfect and might flag legitimate mail as spam. It happens rarely, but it does happen. If you submit manually, you'll (hopefully) notice this, but automatic submission will report the IP of an innocent party as untrusted...

  37. OS flaws make technical solutions difficult by heironymouscoward · · Score: 2, Insightful

    Spam is not just about sending unwanted email from rogue servers. Even if the Internet email system consisted of a 100% controlled network that excluded spammers' systems, there would be a serious spam problem. Why? More and more spam is sent from systems infected by viruses and trojans, and as other avenues get closed, this most promising one will be used to the maximum.
    Let me race down the technology curve and predict some of the wonderful things that will happen in the war on spam:

    - the majority of spam will originate from 'infected PCs'.
    - some smart person will cause email to be charged, and millions of innocent users will get incredible invoices for email they 'never sent'
    - as the number of infected PCs being remotely controlled by spammers increases, the volume sent from each PC will go random and low enough to be effectively undetectable.
    - spammers will start modifying real email to attach their own messages.
    - spammers will start modifying URLs in real email to point to their own websites.
    - spammers will find ways to infect MSIE to do the same thing.
    - anti-spam software will start to resemble anti-virus software, as spammers and virus writers hook-up into an organized (criminal) network.
    - anti-spam software will be the main thing targetted by new viruses.

    and all this time, 80% of PC users will remain blisfully unaware that their PCs are sending shiploads of spam around the world.

    The basic problem is that the (Windows) PC is simply too complex, too connected, and too vulnerable to use as a secure communications device.

    There is an answer somewhere... but I don't believe it lies in technological solutions, nor does it lie in making email paid, nor does it lie in attacking the servers and networks used to send spam. It is rather to understand that simplicity and transparency is the key to security. In the case of PCs, this means arriving at a OS/application combination that is immune to trojans and viruses, not thanks to the latest anti-virus scanners, but thanks to an inherently uncrackable design.

    --
    Ceci n'est pas une signature
  38. TMDA by TheSync · · Score: 2, Informative

    My favorite solution is still TMDA, a free challenge-response auto-whitelist and complex filtering system for Linux. I realize you anti-challenege / response people won't hit the "R" key for me, but I consider that a useful filter...