Slashdot Mirror


Fight Spam With Nolisting

An anonymous reader writes with the technique of Nolisting, which fights spam by specifying a primary MX that is always unavailable. The page is an extensive FAQ and how-to guide that addressed the objections I immediately came up with. From the article: "It has been observed that when a domain has both a primary (high priority, low number) and a secondary (low priority, high number) MX record configured in DNS, overall SMTP connections will decrease when the primary MX is unavailable. This decrease is unexpected because RFC 2821 (Simple Mail Transfer Protocol) specifies that a client MUST try and retry each MX address in order, and SHOULD try at least two addresses. It turns out that nearly all violators of this specification exist for the purpose of sending spam or viruses. Nolisting takes advantage of this behavior by configuring a domain's primary MX record to use an IP address that does not have an active service listening on SMTP port 25. RFC-compliant clients will retry delivery to the secondary MX, which is configured to serve the role normally performed by the primary MX)."

31 of 410 comments (clear)

  1. Oblig. by Whiney+Mac+Fanboy · · Score: 5, Insightful

    YASIGFINFE (Yet Another Spam Idea Good For Individuals, Not For Everyone) - Spammers will change their techniques to be more RFC compliant as soon as (if) Yahoo, AOL, Hotmail, Gmail adopted this method.

    Your post advocates a

    (x) technical ( ) legislative ( ) market-based ( ) vigilante

    approach to fighting spam. Your idea will not work. Here is why it won't work. (One or more of the following may apply to your particular idea, and it may have other flaws which used to vary from state to state before a bad federal law was passed.)

    ( ) Spammers can easily use it to harvest email addresses
    ( ) Mailing lists and other legitimate email uses would be affected
    ( ) No one will be able to find the guy or collect the money
    ( ) It is defenseless against brute force attacks
    (x) It will stop spam for two weeks and then we'll be stuck with it
    ( ) Users of email will not put up with it
    ( ) Microsoft will not put up with it
    ( ) The police will not put up with it
    ( ) Requires too much cooperation from spammers
    ( ) Requires immediate total cooperation from everybody at once
    (X) Many email users cannot afford to lose business or alienate potential employers
    ( ) Spammers don't care about invalid addresses in their lists
    ( ) Anyone could anonymously destroy anyone else's career or business

    Specifically, your plan fails to account for

    ( ) Laws expressly prohibiting it
    ( ) Lack of centrally controlling authority for email
    ( ) Open relays in foreign countries
    ( ) Ease of searching tiny alphanumeric address space of all email addresses
    (x) Asshats
    ( ) Jurisdictional problems
    ( ) Unpopularity of weird new taxes
    ( ) Public reluctance to accept weird new forms of money
    ( ) Huge existing software investment in SMTP
    ( ) Susceptibility of protocols other than SMTP to attack
    ( ) Willingness of users to install OS patches received by email
    ( ) Armies of worm riddled broadband-connected Windows boxes
    (X) Eternal arms race involved in all filtering approaches
    ( ) Extreme profitability of spam
    ( ) Joe jobs and/or identity theft
    ( ) Technically illiterate politicians
    ( ) Extreme stupidity on the part of people who do business with spammers
    (x) Dishonesty on the part of spammers themselves
    ( ) Bandwidth costs that are unaffected by client filtering
    ( ) Outlook

    and the following philosophical objections may also apply:

    ( ) Ideas similar to yours are easy to come up with, yet none have ever
    been shown practical
    ( ) Any scheme based on opt-out is unacceptable
    ( ) SMTP headers should not be the subject of legislation
    ( ) Blacklists suck
    ( ) Whitelists suck
    ( ) We should be able to talk about Viagra without being censored
    ( ) Countermeasures should not involve wire fraud or credit card fraud
    ( ) Countermeasures should not involve sabotage of public networks
    ( ) Countermeasures must work if phased in gradually
    ( ) Sending email should be free
    ( ) Why should we have to trust you and your servers?
    ( ) Incompatiblity with open source or open source licenses
    ( ) Feel-good measures do nothing to solve the problem
    ( ) Temporary/one-time email addresses are cumbersome
    ( ) I don't want the government reading my email
    ( ) Killing them that way is not slow and painful enough

    Furthermore, this is what I think about you:

    (x) Sorry dude, but I don't think it would work.
    ( ) This is a stupid idea, and you're a stupid person for suggesting it.
    ( ) Nice try, assh0le! I'm going to find out where you live and burn your
    house down!

    --
    There are shills on slashdot. Apparently, I'm one of them.
    1. Re:Oblig. by um...+Lucas · · Score: 3, Insightful

      If i had mod points, I'd say you were insightful... Instead, I can only chime in, agree and say "well, now that those instructions are posted, surely it'll just be a day or a week until spammers work around that. So, nice idea, not much of a future, I don't think...

    2. Re:Oblig. by jon787 · · Score: 4, Insightful

      Don't have numbers to back it up, but most things I read say that the Secondary MX is *more* likely to be targeted by spammers on the belief that fewer filters will be in place to prevent spam.

      Those statements could be refering to their use as open relays though.

      --
      X(7): A program for managing terminal windows. See also screen(1).
    3. Re:Oblig. by Whiney+Mac+Fanboy · · Score: 2, Insightful

      If an SMTP sender is non RFC compliant, I would suggest dropping the message. It is about time we start discouraging the usage of crappy senders.

      Fine in principal, not so fine if the non-compliant SMTP sender belongs to a client of yours sending a $important_financial_email.

      --
      There are shills on slashdot. Apparently, I'm one of them.
    4. Re:Oblig. by Whiney+Mac+Fanboy · · Score: 2, Insightful

      Nonsense.

      I didn't say confidential information.

      An example would be an invitation to tender. Anyone can read that along the way, but if I lost out on a tender because my spam filter didn't like the sender's SMTP agent, I'd be pissed.

      Also, you'd be amazed what happens in the business world. All sorts of stuff are sent via email that shouldn't be.

      --
      There are shills on slashdot. Apparently, I'm one of them.
    5. Re:Oblig. by jfengel · · Score: 2, Insightful

      He types that fast because he's mostly filling out a form. Here it is:

      http://www.craphound.com/spamsolutions.txt

      The point is that there aren't any truly novel, effective spam solutions waiting out there. Whatever it is they're suggesting, it's been thought of before, or something like it, and it's already been found wanting.

      We don't need to rewrite the objections from scratch, and can just re-tread the old ones by filling out the form. Somebody will fill out that form for EVERY anti-spam solution posted on Slashdot.

    6. Re:Oblig. by Whiney+Mac+Fanboy · · Score: 2, Insightful

      I stole the spam form from craphound (but it's everywhere and has been posted to slashdot many times).

      All I actually wrote was the first paragraph & subject. 30 seconds work.

      --
      There are shills on slashdot. Apparently, I'm one of them.
    7. Re:Oblig. by Carewolf · · Score: 2, Insightful

      Very stupid and very annoying idea!

      It fails to account for the fact that spammers use fake FROM-addresses, and stupid &%@! SMTP servers bounce the email to the fake FROM-address. I receive around 10000 bounced spam-emails per day of this type because one spammer somewhere decided to use my domain as a fake FROM-address.

      Just discard the email. Don't bounce!

    8. Re:Oblig. by ArsenneLupin · · Score: 4, Insightful

      Just discard the email. Don't bounce! "Great" piece of advice. That way, in case of a false positive, the sender gets no warning that something is amiss.


      Mail should not be silently discarded (except in the most extreme circumstances). Reject it. Rejecting a mail means that the receiving MTA returns an error code (in the 5xx range) to the sending MTA, so that the sending MTA may bounce (which it won't do if it is a zombie, so no scatterback).

  2. Temporary Solution by PhotoGuy · · Score: 5, Insightful

    This strikes me as the ultimate in temporary solutions. If spam senders *tend* to use only the primary MX record, and people start fighting spam by listing bad primaries, won't the spam senders simply start using secondaries? It almost seems the only way that this approach might be valuable, is if it weren't publicized and posted on /., and one kept it to oneself :)

    --
    Love many, trust a few, do harm to none.
    1. Re:Temporary Solution by httpdotcom · · Score: 2, Insightful

      The interesting thing about the solution is that it will increase costs for the spammer. Their MTA's will either dump the original mail, as it is not configured to handle secondary MX records (non-RFC compliant sender) or it will spend the cycles that would normally be used sending other messages. While the bounces could be shuffled off to servers designed specifically for the purpose of fighting this approach, it is still a win against spammers, in the short term.

    2. Re:Temporary Solution by ocbwilg · · Score: 2, Insightful

      The interesting thing about the solution is that it will increase costs for the spammer. Their MTA's will either dump the original mail, as it is not configured to handle secondary MX records (non-RFC compliant sender) or it will spend the cycles that would normally be used sending other messages. While the bounces could be shuffled off to servers designed specifically for the purpose of fighting this approach, it is still a win against spammers, in the short term.

      Not only do most spammers not pay for bandwidth (stealing it from broadband connected zombies instead), but most legitimate businesses do pay for bandwidth. So you're actually increasing the onus on all email servers in order to get a temporary reduction in spam, which will be reversed as soon as the spammers start programming zombies to try all MX servers listed. Not to mention the additional delay that retries on subsequent MX servers can introduce in mail delivery. People complain as it is if they have to wait 5 minutes for an email that someone sent them.

    3. Re:Temporary Solution by Calinous · · Score: 2, Insightful

      That is, assuming you really have those 254 IP addresses ready. And if you have a C-class just for yourself, you are filthy rich :)

  3. Short Term Solution by pyite · · Score: 5, Insightful

    This is not a long term solution.

    1) It's bad netiquette, and a lot of people don't like that, including myself and I'm sure many other administrators.
    2) It's an artificial "defense" that is easily circumvented because the rule is obvious. It's security through obscurity with the added suck that there is no obscurity.
    3) It's solving a symptom and not any of the actual problems (e.g. hosts being compromised to send spam).

    Thanks, but I'll pass.

    --

    "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

  4. I run a mailserver, this is a bad idea by Gothmolly · · Score: 4, Insightful

    We get stuff directed at our secondary all the time, despite having a highly available primary. Why? Our secondary is listed at another domain - they do our backup in the case of disaster. I can only assume that spammers hit it thinking that its a 'back door' into the network, perhaps we don't have the same rigorous anti-spam measures there.

    Dumb idea. You're better sending all your domain mail to gmail, using their spam filtering, and then pulling it from there.

    --
    I want to delete my account but Slashdot doesn't allow it.
  5. Won't work. by schon · · Score: 5, Insightful

    Most spam bots already send to the *lowest* priority MX (ie. the highest number), and work their way backwards, because it's common for the backup MX'es to have lower anti-spam rules.

    However, this idea would have been *great* six years ago. Once the developer invents a time machine, he's got the spam problem licked for at least a week!

  6. Some spammers target secondary MX first by straponego · · Score: 4, Insightful
    ...on the assumption that it will be less well-protected than the primary. If many people pull this fake-primary trick, I would assume they'll react quite quickly. This doesn't seem like much of a long-term defense. It looks to me like good defenses will (and do) involve either complex, evolving techniques (think of the p2p/reputation type stuff in razor/pyzor and FuzzyOCR), or hard choices (reject image-heavy messages, whitelist/greylist, etc). No defense, of course, will be perfect.

    Based on watching a few corporate spam sites and even stuff which reaches my private, never-posted addresses, *much* of the spam could be eliminated by moving non-Windows clients. I'm not just talking about zombies. Some of the spam I see hits lists of addresses which are valid and include very difficult to guess addresses inside the company. Once somebody inside your company, or a buddy of yours is rooted, your previously private address is out there; I've never had this happen via any route but a Windows user. Of course, people who CC: everybody they know with idiotic crap instead of BCC: make this problem much worse.

    Oh, and please stop with the lame form letter responses to these articles. It was cute once, long ago. I know at least five people will have posted them by now. Damn spammers.

  7. Spammers often try secondary MX's. by khasim · · Score: 4, Insightful

    Spammers will often try secondary (and lower) MX's because there's a good chance that the anti-spam AND ANTI-VIRUS systems on those machines are weaker (read "outdated") than on the primary MX.

    The more machines you have to maintain, the more likely you are to focus your efforts on the most critical ones and just let the other slide. Spammers are happy to exploit this.

  8. And WHY won't google rent out Gmail's filters? by straponego · · Score: 3, Insightful

    Gmail's filtering is, well, badass. I'd think a large number of companies would be willing to pay them to handle email for their domains and forward to a company mail server which only accepts messages via gmail. You'd get a very nice web interface, but could still have the speed and power of a local POP/IMAP server. And virtually no spam. That would be worth a few bucks a month per account for a lot of people. Me, I'd be a little creeped out by them having that much access to my personal emails. Which is why I only use gmail for stuff that I don't want lost in a spam filter, like job searching, financial transactions, attorneys, my friends traveling in the Middle East, etc. But nothing personal!

  9. Re:This is bullshit! by LibertineR · · Score: 3, Insightful
    Idiot!

    Spam is NOT free speech. You cant come into my home screaming penis ads at me without getting your ass kicked, so why should you be able to do it into my mail server?

  10. Spammers IGNORE the MX priority by IGnatius+T+Foobar · · Score: 4, Insightful

    Sorry, this isn't going to work. It won't even help a little bit. As a long-time email administrator and the author of an email server I can tell you, with absolute certainty, that spammers ignore the priority of your MX records. In fact, they exploit multiple MX's much of the time, by sending spam to your secondary server(s) even if the primary one is up. In addition to extra target capacity, they often manage to take advantage of badly configured secondaries that might not have spam filtering that's as good as the primary, and in many cases the primary has its secondaries whitelisted to make sure no mail gets accidentally dropped.

    --
    Tired of FB/Google censorship? Visit UNCENSORED!
  11. What's with the breakage to fight spam? by Anonymous Coward · · Score: 3, Insightful

    How comes everyone tries to fight spam by breaking infrastructure? Wikipedia neuters links, email server admins delay mails (graylisting) or even reject connections (unlisting), users turn off Flash and Javascript to avoid ads. IMHO, if we have to break our own toys to keep the spammers from playing with them, we're heading for dull times.

    1. Re:What's with the breakage to fight spam? by robogun · · Score: 2, Insightful

      This is the Tragedy of the commons, a result of selfish use of a common resource by selfish individuals. It's not just spammers and marketers: If my server is getting pounded I might have to take an arguably selfish action by withdrawing it.

      I like to think there's an answer out there in game theory, but with the players numbering in the hundreds of millions if not billions, may be unsolvable.

  12. Re:This is bullshit! by corbettw · · Score: 5, Insightful

    You need not open your mail, esp. when the subject line is something that you aren't interested;

    You need not open your mail to have your resources (bandwidth, disk space, processing power) consumed by spam. I work at a major telecom company running the edge mail servers, along with another full time engineer. Of the 12 million emails we get a day, about 100,000 are legitimate mail. The rest is just spam, and it uses up the bandwidth that could've been resold to customers, it uses up the disk space on the expensive mail servers we bought a few months ago, hell it forced us to buy those expensive new servers in the first place. I figure, just in the extra salary (if not for the spam one guy would be enough to handle the load), having to upgrade perfectly adequate five year old servers, and buying licenses for anti-spam products at four different levels of mail delivery throughout the enterprise just to keep our users from being deluged with useless garbage, the company has spent about $200,000 last year, and will spend about the same amount this year. All because a bunch of asshats want to force our employees to read their idiot advertising, using our network resources to push their message.

    That's not free speech, that's theft. And that's never been legal.

    --
    God invented whiskey so the Irish would not rule the world.
  13. I for one... by deblau · · Score: 3, Insightful

    I for one welcome our soon-to-be-RFC-compliant spammer overlords. I mean, we want standards compliance, right? Right??

    --
    This post expresses my opinion, not that of my employer. And yes, IAAL.
  14. One of the worst Ideas I have ever read on /. by mosch · · Score: 2, Insightful

    I have read some truly terrible ideas on this website. (Usually followed by a chorus of inexperienced idiots blindly saying how great they are, while all the skilled and experienced people rolled their eyes.)

    This is one of the worst ideas I have ever read. Intentionally introducing a large and unpredictable delay into the receipt of all e-mail.

    What's next, a recommendation to cut down on telemarketing by setting your PBX to automatically disconnect 50% of all incoming calls?

  15. Re:"The only solution..." isn't. by Anonymous Coward · · Score: 1, Insightful

    Right, because it would be real tough to get the users ISP-provided SMTP relay from their Outlook configuration and just spam via. that instead. The spammers would never figure that one out.

    Oh and I have the RIAA and MPAA on line 1. They say that if the ISPs are going to be the internet traffic police, they want to talk to them about this BitTorrent thing..

  16. Re:MOD PARENT UP +5 THE FUNNAH by eric76 · · Score: 5, Insightful

    The first time I ever saw one of those "forms", I thought it was interesting.

    The second time, I thought it was "ho-hum".

    After hundreds, maybe even thousands, they are just plain lame.

    The only good thing about them is that you instantly know that you can skip over them and not miss anything at all.

  17. Re:MOD PARENT UP +5 THE FUNNAH by nahdude812 · · Score: 2, Insightful

    Actually, as long as it is correctly filled in, I find that form consistently insightful.

    The reason is that a lot of people preach some new approach to fighting spam, and in reality there are a finite set of reasons which defeat every single one of these ideas to date. When someone comes up with an approach that passes this form, then we'll have something to talk about. If it can't pass this form, then further discussion isn't really merited since it's not even novel enough to get past the standard set of objections that have so far been raised against and successfully predicted the downfall of every failed anti-spam solution to date.

    Ideas that can't pass the form are not worth more effort to respond to than putting an X at the appropriate spots on the form.

  18. SPF... by msimm · · Score: 2, Insightful

    For now I'll stick with SPF and old fashioned spamassassin (milter).

    And whats with the anti SPF sentiment? Its not like we've got a lot of more effective alternatives on the market and the only real argument I read is the rejection of real email, when softfail pretty much takes care of that (then leaving it to spamassassin to decide if the mail is legit).

    We send an receive a good deal of email and I certainly wish SPF was more common. I'm tired of forged bounces and the *slew* of undeliverable responses 'dumb' servers return to our system every day.

    Yet instead of taking any real action we bicker while spammers laugh all the way to the bank. Their is no magic bullet, but from my POV SPF is the closest thing yet (unless my DNS gets hi-jacked, but then I'm fucked anyway).

    --
    Quack, quack.
  19. Re:This is bullshit! by DavidTC · · Score: 2, Insightful

    The joke is that the 'free speech' bus left years ago.

    We don't need to outlaw Unsolicited Commercial Email, or Unsolicited Bulk Email, or do anything to make spam illegal. ALL spam is already illegal, because ALL spam is being sent by illegally hijackjed Windows machines.

    Note when I say 'All spam', I actually mean 'All spam still happening on the internet'. There are no 'legitimate' spammers anymore, because they were almost all dropped from the internet five years ago, and the few remaining ones find themselves utterly blocked by everyone in existence. All spam that is actually ending up mailboxes is being sent illegally.

    We don't need to fucking argue over what 'rights' people have, taking control of someone else's computer and using it to do anything is a 100% flat-out felony.

    --
    If corporations are people, aren't stockholders guilty of slavery?