Slashdot Mirror


Gmail Begins Signing Email with DomainKeys

NW writes "According to a post at IETF's MAIL-SIG list, Google has begun to sign outgoing email from Gmail with Yahoo's DomainKeys signatures. This is the first large provider of email that is actually doing so (not even Yahoo has started that yet)."

63 of 416 comments (clear)

  1. Continue the trend by synthparadox · · Score: 5, Insightful

    Google has almost everything now, why don't they make their own Anti-Spam domainkey type service?

    1. Re:Continue the trend by Russ+Nelson · · Score: 5, Insightful

      They want some hope of interoperability with other MTAs.
      -russ

      --
      Don't piss off The Angry Economist
    2. Re:Continue the trend by Hanzie · · Score: 5, Insightful
      ...why don't they make their own Anti-Spam domainkey type service

      In order for this to be the most useful, the solution needs to be usable by everybody. Yahoo has come up with a workable system, and has licensed it to everybody for free use (I await the EFF's opinion on the terms of use, but it looks pretty good to me.)

      Google has seen Yahoo's solution and deemed it 'good'. They'll use it, and traction will thus be gained. According to the article, sendmail is working on an implementation of it, for which I rejoice.

      The biggest hurdle to using this is to actually get others using it. Google has decided to throw their weight behind Yahoo's implementation. Fortunately, they've beaten the proprietary versions. I can't imagine anyone now going with a pay to use version, when this is available.

      You can also build in as much security as you want, since RSA keylength is decidable by the domain, rather than fixed.

      Hooray!

      Hanzie
      --
      ********* sig: If you don't like the law, get filthy stinking rich, and buy a better one.
    3. Re:Continue the trend by Russ+Nelson · · Score: 4, Insightful

      Not true. Ebay could sign ALL email coming from Paypal and Ebay. If you got unsigned email .... it's definitely a phish. It's easy to verify the signature.
      -russ

      --
      Don't piss off The Angry Economist
    4. Re:Continue the trend by user+no.+590291 · · Score: 5, Insightful
      But until pretty much the whole world's using DomainKeys, unsigned emails can't be dropped. How would emails send from ebay.com that contain no signature be handled? I've only skimmed the IETF draft, but unless all messages without signatures incur a key lookup (to see if it should be signed, then unsigned messages from ebay.com and paypal.com would get through.

      An important hole in the phishing protection is that there will quickly be domains like ebaysecurity.com, paypalinfo.org, or paypalfraudunit.com ad nauseam, the possible iterations over which can't all be preemptively registered, which could have perfectly valid DomainKeys signatures because the phishers would control the domains.

    5. Re:Continue the trend by tomhudson · · Score: 5, Insightful
      There are lots of reasons not to develop their own:
      1. The terms to license DomainKeys are very liberal
      2. Google doesn't suffer from the NIH (Not Invented Here) syndrome, and wants to show itself as being an open company
      3. This will help the tech reach the "critical mass" much sooner
      4. gmail users tend to be "early adopters", so why not offer it to those "early adopters", and signal a trend :-)
      5. Google wants to be seen as working against spammers - can you blame them?
      6. Google has other fish to fry (ie: Microsoft search), so why not adopt tech that can compete successfully with Microsoft's proposed solution, and that is already available to everyone?
    6. Re:Continue the trend by ergo98 · · Score: 5, Insightful

      But until pretty much the whole world's using DomainKeys, unsigned emails can't be dropped.

      -Your receive a message
      -You check the DNS for the key
      -It has one, but the message isn't signed. Drop the message.

      Receivers that don't check the key of course won't realize they're getting fraudulent mail, but those that do will with absolutely certainty - if Google publishes that they sign their emails, then you can be absolutely certain that unsigned emails are fakes and dump them. If the sending domain doesn't have a key then you obviously can't take advantage of this.

      An important hole in the phishing protection is that there will quickly be domains like...

      Excellent point that is very true. While this is another tool for the clueful, the clueless will happily believe derivatives, and as you mentioned they will be fully "authenticated". paypa1.com anyone?

    7. Re:Continue the trend by femto · · Score: 5, Informative

      It's not really free, as the yahoo license is for a very narrow field of use. If the DomainKeys is implemented as free software, it doesn't seem possible (by my reading) to use the software outside the narrow area defined by yahoo ("the sole purpose of a sender verification solution in connection with e-mail.") Hence the software isn't really free (and neither is DomainKeys).

    8. Re:Continue the trend by AKAImBatman · · Score: 4, Interesting

      You forgot:

      7. Yahoo is suggesting a solution that *should* have been the first thing everyone tried. Inventing complex new mail records is just silly.

    9. Re:Continue the trend by magickalhack · · Score: 5, Funny

      That's funny. I trust president@whitehouse.com much more than I trust president@whitehouse.gov.

      --
      This Sig Kills Fascists
    10. Re:Continue the trend by miley · · Score: 5, Informative

      >According to the article, sendmail is working on an implementation of it, for which I rejoice. Its been available for several months http://sendmail.net/dk-milter/

    11. Re:Continue the trend by kentmartin · · Score: 4, Interesting

      That's all well and good, but, assuming this thing takes off, did you see this bit in the FAQ's?

      "However, it is possible that Certificate Authorities may become a valuable addition to the DomainKeys solution to add an even greater level of security and trust."

      So, to extend the "SUSPECT" folder, are we eventually going to find ourselves in the position where we all have to pay a CA simply to avoid having mail from private domains being bounced by big/wealthy/corporate providers.

      This would suck, I have about 20 domains that I serve mail for, a couple of commercial ones, but mainly domains for friends, myself etc. At 50 odd dollars a throw, that'd be $1000 dollars a year.

      Don't get me wrong, public verification would be nice in certain circumstances, but I can't see how this would happen without incurring considerable cost, after all, what you are paying for (in theory) is for someone else to verify you are who you say you are - this is a service that quite rightly is chargeable.

      To go one step further, it would also (once more, in theory - in my experience the checking done for CA signed certs is non-existent/trivial to circumvent) reduce the anonymity and privacy on the net that we all value so highly - at least as far as email is concerned.

  2. What!? by elid · · Score: 4, Funny

    You mean the e-mail I got from BUYYYY_CH33P_M3DZ@gmail.com might not have been authentic!?!?

    1. Re:What!? by mccrew · · Score: 4, Insightful
      No, Mr. Funny Guy, it means that the mail really did originate by the user BUYYYY_CH33P_M3DZ@gmail.com and did not contain a faked From: header. But I suspect you knew that.

      All of these spam identification methods merely provide reliable authentication of the sender's domain. The rest is up to you. You still have the responsibility to maintain spam filters.

      Having reliable identification is a first step. A very important first step.

      --
      Hey, Windows users, there is no such thing as "forward" slash, there is only slash and backslash.
    2. Re:What!? by kiddygrinder · · Score: 3, Informative

      Actually the idea is that you CAN identify the domain the mail came from. The example you mentioned, gmail: If an email comes from somewhere that claims to be @gmail.com and does not have the domain key header, then it's not from gmail, as all gmail mail has that header. If it tries to add a fake domain key header, it's checked and rejected as fake. As far as i can tell the key doesn't differ from person to person so you can't tell a john@gmail .com from a jeff@gmail.com, but i could be wrong on that point.

      --
      This is a joke. I am joking. Joke joke joke.
    3. Re:What!? by CProgrammer98 · · Score: 4, Informative

      No, read the specs - the whole point is that you CAN verify the domain name. If the from header says gmail.com but it isn't signed with gmai's key then it DIDNT come from gmail

      --
      And the people shall be oppressed, every one by another, and every one by his neighbour Isaiah 3:5
    4. Re:What!? by tarunthegreat2 · · Score: 3, Funny

      I thought this guy was New Here...

  3. It takes all those PhDs at Google by Anonymous Coward · · Score: 4, Funny

    To figure out how to implement DomainKeys. Seriously, that thing is a best.

  4. Re:Wait a minute... by Maestro4k · · Score: 5, Insightful
    • Don't get me wrong, I'm not one of them Google bashers (I don't believe the Google Desktop is spywer, for example), but in this case I would like to have an opt-out option!
    Since Gmail's a free service, I believe your opt-out mechanism is to use something else. Given this is largely an anti-spam technique (to prove an E-mail is legitimately from the domain it says it is) I can't see Google being willing to provide an opt-out on this, it would undermine the whole effort.
  5. Hazards of skim reading.... by Owndapan · · Score: 5, Funny

    I saw DomainKeys and read DonKeys. I took me forever to work out how such an animal could be used to sign emails for spam-filtering... I'll be releasing a white paper on it shortly.

    1. Re:Hazards of skim reading.... by darkmeridian · · Score: 4, Funny

      Well, this is why Google couldn't institute DonKey by itself. The pageranking pigeons kept on crapping on the DonKeys.

      --
      A NYC lawyer blogs. http://www.chuangblog.com/
  6. beta!? by Turn-X+Alphonse · · Score: 3, Funny

    So we have all these featurs even Yahoo doesn't have.. and yet we're still beta?

    --
    I like muppets.
  7. Re:Spammers on GMail by Maestro4k · · Score: 4, Informative
    • So will this prevent spammers from sending spams via a Gmail account?
    I doubt that's really the concern, most spammers don't use mainstream ISPs/E-mail providers as it is, they just fake return addresses from domains of known ISPS/E-mail providers. This would help E-mail servers on the receiving end (who've implemented the DomainKeys stuff too) to know for sure if the return address is real or not. So they could just toss out all @gmail.com addresses that aren't authentic, most of them would be spam anyway. It also simplifies Google's spam investigations, if a spam E-mail supposedly from gmail.com doesn't have the DomanKeys validation no further time needs to be spent on it, just send it back with a form "This didn't originate from our domain" message and go on to the next one.

    Of course that just means spammers will start using different domain names as return addresses.

  8. Re:Spammers on GMail by metlin · · Score: 4, Interesting

    Will it ever catch on? If enough people implement and use it, then yes.

    Why not? If Google can grow to be numero uno in free webmail providers, that in itself will be a strong convincing factor.

    The thing I like about Google - they do good things which forces other companies to follow them. Take search, for instance. Other companies had such horribly cramped search interfaces and ads, until Google came up with a clean and mean interface.

    Now everyone - Yahoo!, Altavista, MSN Search - follow's Google's example.

    I'm sure that if Gmail was to pick up momentum, the sheer number of users and need for interoperability would kinda force others to follow suit.

    All these other providers had the means and the option, but did not do so. MS has so much funds and Hotmail in itself is responsible for a good chunk of spam - if MS had taken this stance, they could easily force other providers to adopt this technology and help decrease spam in the process.

    But no.

    _This_ is why I like Google. Way to go, guys.

  9. Re:Spammers on GMail by Russ+Nelson · · Score: 3, Insightful

    Of course that just means spammers will start using different domain names as return addresses.

    Yes, true, that is why DomainKeys is an authentication system. To the extent that it helps stop spam, it will be through forcing spammers to use their own names.
    -russ

    --
    Don't piss off The Angry Economist
  10. domainkeys, SPF by secolactico · · Score: 4, Interesting

    I don't see how it's any better than SPF?

    In fact, it could be worse since now a calculation is required to verify the sender in addition to the DNS query.

    Anybody care to enlighten me?

    --
    No sig
    1. Re:domainkeys, SPF by Russ+Nelson · · Score: 4, Informative

      DomainKeys survives forwarding.
      -russ

      --
      Don't piss off The Angry Economist
    2. Re:domainkeys, SPF by wayne · · Score: 5, Informative
      I'm on the (not yet IETF) MASS mailing list, the DomainKeys mailing list, and I've read the DomainKey's spec a couple of months ago, but I can't say I'm an expert on all things domainkeys.

      SPF verifies that the IP address of the mail server sending you the email is authorized by the domain to do so. This causes problems when email is forwarded, such as via pobox.com. It requires all email to be sent through "authorized" servers, which can cause problems when people are working from home and want to send email, or when you are in a cyber cafe. It also causes problems when email is generated on greeting-card/news-story websites.

      DomainKeys creates a hash of the email body and some of the headers and uses public key technology to sign it. This causes problems when email is sent to a mailing list and the mailing list mangles it or when it is sent through things like MS Exchange servers. There are also problems with being able to replay the message. Like SPF, there are problems people are working from home and want to send email, or when you are in a cyber cafe. Also like SPF, also causes problems when email is generated on greeting-card/news-story websites.

      Using DomainKeys, a spammer can send an email from a throw-away gmail account to another email account, pick up a copy of the spam with the correct domainkeys signatures, and then blast it out to everyone. I can't see any way to prevent this with domainkeys.

      Many mailing lists add stuff at the end, either unsubscribe/archive info, or outright ads. In order to make DomainKey signatures survive being sent through mailing lists, the email body is converted to a "canonical form", which allows this extra text to be ignored.

      The problem is that a spammer can subscribe to a mailing list, watch for emails without much text, then add their own ads (spam) onto the end and send it out.

      I think domainkeys is an interesting idea, but as of right now, I can't see how it is ever going to work or be useful.

      --
      SPF support for most open source mail servers can be found at libspf2.
    3. Re:domainkeys, SPF by bcrowell · · Score: 4, Interesting
      an article about why SPF may not work against phishing

      an interview with the creator of SPF that compares it with DomainKeys

    4. Re:domainkeys, SPF by Russ+Nelson · · Score: 4, Informative

      DomainKeys creates a hash of the email body and some of the headers and uses public key technology to sign it. This causes problems when email is sent to a mailing list and the mailing list mangles it

      The recipient should probably have their mailing list sources whitelisted. Or the mailing list could insert a Sender: header and resign the message.

      or when it is sent through things like MS Exchange servers.

      This is indeed a problem, but the -01 spec has c=nofws and h= which should go a long way towards fixing that.

      There are also problems with being able to replay the message.

      True, but you can't replay it with different recipients.

      Like SPF, there are problems people are working from home and want to send email,

      Your workplace can give you a selector and private key of your own so you can configure your MUA or MTA to sign email. (I realize that I'm creating software from whole cloth here, but we're talking about the capability of a standard, not the existance or capability of the implementations of it).

      or when you are in a cyber cafe. Also like SPF, also causes problems when email is generated on greeting-card/news-story websites.

      Typical email use in a cyber cafe (that I've observed anyway) is a webmail host. The greeting-card/news-story websites will have to stop forging email.

      Using DomainKeys, a spammer can send an email from a throw-away gmail account to another email account, pick up a copy of the spam with the correct domainkeys signatures, and then blast it out to everyone. I can't see any way to prevent this with domainkeys.

      gmail will start to get LOTS of queries for that selector. If they've given out one selector for each user, they'll be able to revoke the key for that user.
      -russ

      --
      Don't piss off The Angry Economist
    5. Re:domainkeys, SPF by miley · · Score: 3, Informative

      Its thee .forward that survives, not the 'forward' button in your mail interface. If ebay sends a DomainKey signed mail to your pobox.com account, you can still prove that ebay sent it. With SPF, you can only say that pobox was that last to touch it.

  11. Example by TheJavaGuy · · Score: 3, Informative

    Here is an example from NW's blog.

    --
    Opera Watch - An Opera browser blog.
  12. SPF by lordvdr · · Score: 4, Interesting

    Alright, I DID RTFA, and basically what this describes is just another way to authenticate that the user is from that domain. Isn't that the same thing SPF does? They both seem to accomplish the same task, but SPF appears to be easier to manage and easier to support. My personal (commercial) mail server already supports SPF, sendmail et al. support it (via external component), and my Barracudas (awesome product!) are beta testing spf support right now.

    Oh yeah, and gmail already support SPF. Why promote different standards that are apparently identical in purpose?

    --
    If you are out to describe the truth, leave elegance to the tailor - Albert Einstein
    1. Re:SPF by Russ+Nelson · · Score: 4, Interesting

      Because if you forward email, the SPF authentication breaks. DomainKeys doesn't. Also, DomainKeys has the potential of authenticating on a user level, which SPF cannot ever do.
      -russ

      --
      Don't piss off The Angry Economist
  13. Re:Spammers on GMail by SnprBoB86 · · Score: 3, Insightful

    "So will this prevent spammers from sending spams via a Gmail account?
    I doubt that's really the concern, most spammers don't use mainstream ISPs/E-mail providers as it is, they just fake return addresses from domains of known ISPS/E-mail providers"

    I would think the really important thing about this is that Google is respected in the internet industry and that others will certainly follow suit. If enough big players make the effort to ensure email from their domain names is authenticated, email clients could eventually offer the option to only accept emails from proven senders.

    --
    http://brandonbloom.name
  14. Header Example by trawg · · Score: 5, Informative

    For those (like me) that have no idea what this would actually look like, here's the DomainKey header from an email I just sent myself from GMail:

    DomainKey-Signature: a=rsa-sha1; c=nofws;
    s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subjec t:mime-version:content-type:content-transfer-encod ing; b=ONG9HfGg74ZbrOOI8IwjwhGUX+PlGp1+clGIyvWriiltDmXE xdmdDWoblELIrVMw3yex7xRyib6m4Q5pInSfi2mr1IQRZINzf2 qTI/9QtFMkpwJUcWJeBt8VPzdxpNCdItxyNnALLIXjrsBAcYsY 8Gv7C6HJR0E6OFZCM0qWrCo

    1. Re:Header Example by ornil · · Score: 4, Insightful

      And my spam filters would have killed that message dead. Too much non-human-readable text.

      Your spam filter cares about the non-readable text in the header?

    2. Re:Header Example by FunkyMarcus · · Score: 5, Informative

      Who do they think they are, not prepending "X-" to their weird headers?

      You're kidding, right?

      The DomainKeys proposal has been submitted as an Internet-Draft. In other words, the DomainKeys-Signature header field is on the best possible track to becoming a recognized field. The only thing that recognition would mean that the DomainKeys-Signature field could not be used for other purposes.

      Even so, RFC 822 does not require private header fields (what it calls "user-defined fields") to begin with X-; it is merely offered as good advice to those who never intend to seek official recognition for their fields.

      Of course, the extension field name registry endorsed by RFC 822 does not exist, and in fact, no extension field name registry for 822-format messages exists. (It seems like IANA should maintain one, but they don't. RFC 2076 is a good start.) The best guidance is to treat de facto usage as the standard, and allow for expansion through the formal RFC procedures, of which publication as an Internet-Draft is an element.

      And remember, it's already an Internet-Draft.

      Mark

  15. So, no more SMTP-server for me? by F�an�ro · · Score: 3, Interesting

    Correct me if I am wrong, but if I understand this correctly, and if filtering with this becomes widely adopted, then it will also prevent me from sending mails with my gmail-address from my smtp server.
    So I would have to use their web-interface, or hope they wil eventually make a smtp-server useable for a fee

    Not that this is not their right and all, and I could just stop using it if I don' like it, free service, yada yada..
    Still, this gives a little too much control to my email-domain-provider about which smtp-server I can use, than I am comfortable with.

    1. Re:So, no more SMTP-server for me? by Russ+Nelson · · Score: 4, Informative

      Reply-To: takes precedence over From:. Any software that complies with the various and sundry RFCs will use the Reply-To: when asked to reply to the email.
      The sender has to take explicit steps to cause this to break.
      -russ

      --
      Don't piss off The Angry Economist
  16. Domain Keys question by Anonymous Coward · · Score: 5, Interesting

    I have a web domain mainly to receive e-mail.
    When I send mail, I use my domain in the "from."
    However, my domain provider doesn't allow smtp, so my outgoing mail is through my ISP.
    If my ISP supports domain-keys, they will sign my outgoing mail, but it will NOT match my totally-legitimate "from."
    According to the domain-keys summary, this would flag my mail. In medical terms, this is called a false-positive.
    How does domain-keys prevent something like this from being a problem, other than by forcing users to adopt a completely different e-mail stragegy?

    1. Re:Domain Keys question by Russ+Nelson · · Score: 5, Informative

      This is a good question; somebody mod it up (obviously *I* can't).

      If your ISP supports domain-keys, they won't sign your outgoing mail, because they don't have a private key and selector/public-key combination for your from:. If they trust that you are you (e.g. because they used smtp-auth with reasonably secure passwords), then they might insert a Sender: header with your authentication information in it.

      The alternative is for you to sign your outgoing email, or deal with people's reaction to the reception of unsigned email.
      -russ

      --
      Don't piss off The Angry Economist
    2. Re:Domain Keys question by pijokela · · Score: 4, Interesting

      You are 100% correct, but the whole world (except me and maybe you) uses outlook and for some reason people using outlook always reply to the sender address.

      I'm not sure if outlook ignores reply-to or if it just asks a question with the sender address as default choice, but for some reason I always get the replys to the wrong address.

    3. Re:Domain Keys question by RAMMS+EIN · · Score: 3, Informative
      ``However, my domain provider doesn't allow smtp, so my outgoing mail is through my ISP.
      If my ISP supports domain-keys, they will sign my outgoing mail, but it will NOT match my totally-legitimate "from."''

      I think DomainKeys takes this into account. If you provide a Sender: header, the domain in there will be used for signing the mail. So, the following mail:
      From: Anonymous Coward <anonymous@coward.org>
      To: my@friend.net
      Sender: ac@isp.com
      Reply-To: Anonymous Coward <anonymous@coward.org>

      Hello world!
      Your ISP would sign this mail, testifying that it indeed comes from the isp.com domain. The recepient sees the mail as verified, and sees the sender as anonymous@coward.org. His reply will also be directed there.
      --
      Please correct me if I got my facts wrong.
  17. Re:why by Russ+Nelson · · Score: 4, Insightful

    Every email needs to come with some token of authenticity, be it a source IP address ala SPF, or cryptographic signature ala DomainKeys, or a low SpamAssassin score, or no listing in any of a number of DNSBLs. The days when you could send anybody an email from anywhere and expect them to receive and read it are long gone.
    -russ

    --
    Don't piss off The Angry Economist
  18. License Terms by nels_tomlinson · · Score: 3, Interesting
    The license terms look reasonable: Don't sue us over our patent, don't say we (Yahoo!) endorse you (the licensee), you can distribute and sublicense on the same terms. I just gave it a quick read, but if I didn't miss anything, this is OK.

    I've quoted some of the interesting looking parts below.

    1.1 Subject to the terms and conditions of this Agreement, DomainKeys Developer hereby grants You, a royalty-free, worldwide, sub-licensable, non-exclusive license under its rights to the Yahoo! Patent Claims to make, use, sell, offer for sale, and/or import Implementations.

    3. TERMS.

    3.1. You agree not to assert against Yahoo!, or any other DomainKeys Developer, a patent infringement claim against any Implementation ("Implementation IP Claim").

    3.2. To indicate your assent to the terms and conditions of this Agreement and in order to obtain a license to make, use, sell, offer for sale, and/or import Implementations, You must include or preserve the following prominently displayed statement in the source code and object code of any such Implementations : "This code incorporates intellectual property owned by Yahoo! and licensed pursuant to the Yahoo! DomainKeys Patent License Agreement.".

    3.3. You will not use the name of Yahoo! to endorse or promote any products or Implementations without specific prior written permission of Yahoo!. "DomainKeys" is a trademark of Yahoo!. However, You may state Your Implementation is "DomainKeys compliant", "supports DomainKeys", or is "DomainKeys-enabled", without citation to Yahoo!, but You should create Your own product names or trademarks for Your specific Implementations and the term "DomainKeys" shall not be used by You in or as part of a name for Your specific Implementations.

    3.4. You may choose to distribute Implementations under this Agreement or a separate agreement, including without limitation a sublicense agreement, provided that:

    (a) such agreement complies with the terms and conditions of this Agreement;

    (b) a copy of this Agreement or the separate agreement is included with each copy of the Implementations along with the following prominently displayed statement: "By making, using, selling, offering for sale, and/or importing this product, you agree to the terms and conditions of the Yahoo! DomainKeys Patent License Agreement or other separate agreement contained herein."; and

    (c) if distributed under a separate agreement, such separate agreement must contain terms no less protective of DomainKeys Developers than the terms and conditions of this Agreement, including, without limitation, Sections 3.1, 3.4, 3.7, 4.1, 4.2, and 4.3.

  19. SPF and gmail by SamMichaels · · Score: 4, Informative

    Why is everyone flipping out about domainkeys and SPF? Gmail already HAD spf...looky what I get from 'dig':

    ;; ANSWER SECTION:
    gmail.com. 300 IN TXT "v=spf1 a:mproxy.gmail.com a:rproxy.gmail.com ?all"

    ...and from the headers of my email:

    Received-SPF: pass (mojo: domain of gmail.com designates 64.233.170.203 as permitted sender) client-ip=64.233.170.203; envelope-from=xxx@gmail.com; helo=mproxy.gmail.com;

    What we should question is why this is in my Exim logs for each gmail mail I receive:

    2004-10-17 23:00:25 H=rproxy.gmail.com (mproxy.gmail.com) [64.233.170.203] Warning: remote host presented unverifiable HELO/EHLO greeting.

  20. I want my TXT record back! by fo0bar · · Score: 4, Informative

    One of the things that really irked me about SPF was that it used the TXT record of the main domain to store information. Now granted, not many people use the TXT record in DNS, but I found it very short-sighted of SPF to use the TXT record of the domain itself, rather than having a separate subdomain. For DomainKeys, this is the case. According to the spec, information is stored in TXT records in domains like so:

    sanfrancisco._domainkey.example.net

    In this case, "example.net" is the domain this is all about, and "sanfrancisco" is the name of they key (yep, it seems you can have multiple keys per domain).

    I haven't looked too hard into DomainKeys, but it looks very promising.

    1. Re:I want my TXT record back! by grinder · · Score: 3, Insightful

      _domainkey?

      Is that underscore really meant to be there? Because _ is not supposed to be an allowable character for names in the DNS.

      I hope that this is not Yet Another Impoverishment of internet standards...

    2. Re:I want my TXT record back! by FunkyMarcus · · Score: 3, Informative

      Is that underscore really meant to be there? Because _ is not supposed to be an allowable character for names in the DNS.

      The underscore is not supposed to be present in host names. The restrictions on host names are much stricter than any restrictions imposed by the DNS protocol, which can handle just about any raw data as a name. If it resolves to an A record, possibly indirectly through a CNAME, the _ has no business being there.

      The world uses DNS for more than host names, though, and there's nothing wrong with using underscores in other contexts. This isn't new. Think SRV records.

  21. Why doesn't Yahoo... by wwwillem · · Score: 3, Interesting

    (not even Yahoo has started that yet)

    Doesn't surprise me. My domain was once hosted with a pretty satisfactory ISP called SimpleNet (what a name, but their service was good!!). They were absorbed by Yahoo and continued under the brandname Yahoo WebServices. So far, so good...

    Over the years, I got more and more spam, so when Yahoo one time announced (I'm sure I read it on /.) that they had now the absolutely perfect SPAM filtering solution in place, I wrote them why they implemented this for their freebie "mail.yahoo" accounts, but not for folks that are paying them 15 bucks a month.

    Oh dear, had I underestimated Yahoo logic!! The reply was that I could upgrade my account to a business account (for 30+ bucks a month) to obtain the SERVICE (!!!) of spam filtering ..... the fuckers..... So, I replied to them that I didn't think it fair that freebie customers got a better SLA than those people paying 150 bucks a year.

    No answer of course and I moved my domain to another ISP at the end of the year.....

    --
    Browsers shouldn't have a back button!! It's all about going forward...
  22. What about... by ottergoose · · Score: 5, Insightful

    What about all of those zombie machines out there that send spam via Outlook - since that email is going out with a valid account, it would be flagged as legit.

    Tell me where I'm wrong.

  23. Another Grand Unified Spam Solution(TM) by martin-boundary · · Score: 4, Insightful
    This type of spam solution just misses the state of the current end to end mail system. Why Google would want to push such an incomplete, half ready cryptography solution is beyond me.

    The Google engineers aren't stupid, they know that mail messages are routinely modified in transit, both the headers, which can be wrapped, rearranged, removed or added, and the MIME bodies, which can be decoded, reencoded, and even modified.

    As engineers, they also know that cryptographic signatures are designed to detect message tampering.

    Combine these two ideas and you get a system which will flag routine message modifications as forgeries, making the DomainKeys signature completely useless in practice. And yes, I've read the rfc draft, and found it wanting.

    It *would* work if there was a standard set of well defined transformations performed on emails from the sender's MUA to the recipient's MUA. So if one Gmail user sends to another Gmail user, it'll be ok, because the message won't leave Google's servers.

    But Google has no control over other people's systems. When I download mail by POP3 from my ISP, they've added SpamAssassin headers, which will simply destroy the DK cryptographic signature. When I get mail at work, they remove ZIP attachments, which destroys the DK signature. When mail passes through an older gateway, some MIME attachments can be decoded and reencoded, destroying the DK signature.

    I could go on but you see the point. Once I get the mail in my mailreader, the DK header is useless junk, and it might as well have been forged, for all the good it does. In fact, if my trust in Google is so high that I'm willing to accept the DK header even though it fails, just because Google are the only ones using it so far, I guarantee that the spammers will pick up on that real fast.

    DK is a draft, and is far from ready yet. It should be allowed to mature. Google shouldn't be deploying incomplete solutions. Unless... could this the beginning of the PHB era at Google? If so, I'm disappointed.

    1. Re:Another Grand Unified Spam Solution(TM) by Jim+Fenton · · Score: 3, Informative

      On a couple of your specific points:

      The SpamAssassin headers shouldn't interfere with the signature because the DK signature includes a list of the headers that are included, and the SpamAssassin headers won't be there.

      Your employer could check the signature and annotate the message prior to removing the .ZIP attachments. Hopefully you trust your employer's verification of the signature!

    2. Re:Another Grand Unified Spam Solution(TM) by MourningBlade · · Score: 3, Informative

      Most authentication header solutions are server-to-server, not concerned with what person is sending the message, only what service. Given that domain spoofing is a server issue, not a client issue, that's reasonable.

      In addition there are also issues with most email authentication systems involving relays.

      (explanation for public benefit) In email situations you have:

      Your Side -- Their Side

      Where Your Side or Their Side consists of many or few email servers. It's very rare these days to have this situation:

      Your Side -- External Relays -- Their Side

      Where the external relays are not controlled by either you or the other side. These relays can do things such as the MIME re-encoding, ZIP removal, etc that was mentioned above. This is bad, as there really is no way to distinguish between a properly modified and an improperly modified email once it passes through those relays.

      But they're rare. As long as the both Your Side and Their Side both have authenticators set up somewhere in the chain before things are mangled, everything is fine.

      So, for instance, if you want to remove ZIP files, defang HTML or MIME, virus scan, and markup for spam purposes, you can do that. Just make sure that it's done *after* authentication.

      It's like putting a letter in an envelope: envelope's only good if you check the seal before opening it.

    3. Re:Another Grand Unified Spam Solution(TM) by Russ+Nelson · · Score: 4, Informative

      The Google engineers aren't stupid, they know that mail messages are routinely modified in transit, both the headers, which can be wrapped, rearranged, removed or added, and the MIME bodies, which can be decoded, reencoded, and even modified.

      It's nowhere near as routine as you say. We struggled and struggled with this issue for months, and finally decided that we didn't have enough information about exactly what munging of messages actually happened "in the wild." Hence, the 00 draft had only tiny support for munging (allows for variable numbers of terminating CRLFs), and the 01 draft has only a little bit more.

      Complexity is easy to add; simplicity is easy to lose. Simple specs get implemented; complex ones don't, or take longer to implement.

      Combine these two ideas and you get a system which will flag routine message modifications as forgeries, making the DomainKeys signature completely useless in practice. And yes, I've read the rfc draft, and found it wanting.

      The -01 draft? Did you miss the nofws canonicalization? Did you miss the h= tag which specifies the order of signing of headers?

      But Google has no control over other people's systems. When I download mail by POP3 from my ISP, they've added SpamAssassin headers, which will simply destroy the DK cryptographic signature.

      We have a committment from the SpamAssassin folks to support DK. That means checking the signature, and not munging.

      When I get mail at work, they remove ZIP attachments, which destroys the DK signature. When mail passes through an older gateway, some MIME attachments can be decoded and reencoded, destroying the DK signature.

      True. It's likely that complex corporate MTA configurations will need to check the signature at the border.

      I could go on but you see the point.

      Not really. Are you counselling inaction? Inaction is more likely to fail at stopping forgeries.

      DK is a draft, and is far from ready yet.

      Have you submitted your suggested improvements to Mark, or .... are you just whining?

      I agree with you that some FUSSPs are not salvagable, but I believe that DomainKeys can succeed at stopping forgeries.
      -russ

      --
      Don't piss off The Angry Economist
  24. Google also tried using Bonded Spammer for a while by Animats · · Score: 4, Insightful
    I got an e-mail from Google once that came from a Bonded Spammer (er, Sender) IP address. Unfortunately, it was a misdirected mail bounce, which is a violation of the Bonded Sender TOS. A note to Bonded Sender and Google made them stop that.

    If you sign up with one of these "trusted sender" schemes, be very careful that there's no way mail bounces, virus-generated mail, or mail via open proxies can become "trusted". Your ID will be on the mail, and you'll be blamed. Spammers are going to be targeting those sites, since they provide a bypass around some spam filters.

  25. Re:how to verify? no txt record for beta.gmail.com by miley · · Score: 5, Informative

    you need a _domainkey in there:
    $ host -t TXT beta._domainkey.gmail.com
    beta._domainkey.gmail.c om text "t=y\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC69TURXN3o Nfz+G/m3g5rt4P6nsKmVgU1D6cw2X6BnxKJNlQKm10f8tMx6P6 bN7juTR1BeD8ubaGqtzm2rWK4LiMJqhoQcwQziGbK1zp/MkdXZ EWMCflLY6oUITrivK7JNOLXtZbdxJG2y/RAHGswKKyVhSP9niR sZF/IBr5p8uQIDAQAB"

  26. Header Length? by __aafkqj3628 · · Score: 4, Insightful

    Is it just me, or is the length of email headers these days starting to eclipse the length of the body?

  27. Re:Patents and hypocrisy by gsasha · · Score: 4, Insightful

    The miniscule and unimportant fact that they Yahoo have thrown in an open license for it. And that everybody (including FOSS) can implement it at will.

  28. Re:This will work - differential filtering by thesp · · Score: 4, Insightful

    The problem here is that most people won't change their email provider simply for the hassle of keeping contacts up to date. People who hate hotmail's service, yet know that it would be near-impossible to ensure that everyone who may need to email them has any updated email address details. (the problem is not the same as number portability between phone networks due to the difference in routability and the 'brand recognition' part of email. For this to work, therefore, we need to divorce an email recieving account from a sending account - and very few services exist to be able to hire a secured smtp account exclusively for the purpose of sending from a 'trusted' domain.

  29. Extremely bad advice by KjetilK · · Score: 5, Informative

    Have scripts that autorespond to any "from" that goes to any of the 4 dummy addresses, so as to waste spammers time with false positives.

    Do not ever do this! It is an extremely bad advice.

    From addresses are almost always forged, usually there are just random junk in the From. Quite often there are valid addresses there, and your autoresponders will spam those innocent bystanders. They will be very thankful, you bet!

    Finally, it is not uncommon that spammers forge in anti-spammers who have successfully shut them down before in there. When I was still actively pursuing spammers, I had my addresses forged this way. I have had my share of moronic autoresponders. It is not fun at all. If you do this, you only contribute to the spam, and you bet that if you annoy a real anti-spammer enough, you will find your own connection to be a smoking hole faster than you can imagine.

    In fact, having autoresponders at all is not recommendable at all at this time. If you first accept an e-mail and then generate a bounce message, if the MAIL FROM was forged, that bounce will go to a random bystander, which is bad. If you use autoresponders, or generate bounce messages, you should be careful not to bounce at forged from addresses.

    Allthough it is a bit controversial still, you may configure your system to reject spam and viruses at SMTP time. Then you will not generate a bounce, a relay may, but then, hijacked relays usually don't either (I think it is good reasons for this). So, I am of the opinion that this is good practice.

    Autoresponders are Evil however.

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  30. Re:What's wrong with PGP? by KjetilK · · Score: 3, Interesting
    It is an interesting perspective, and I would truly like PGP to become more widespread, so that it at least meaningful for me to implement a whitelist system (still not rejecting non-signed e-mail).

    I think your scalability point is going to prove important. I think it would be computationally rather expensive for the moment. My pubring has around 900 keys and the database is 12 MB. But then, it could become feasible in the future, as processing capacity does increase fast.

    However, the real thing here is that PGP does not help you verify identity directly. It helps you verify that a message was sent by "Foo Bar ", and that it has not been altered while in transmission. Still, there is additional effort involved in knowing who "Foo Bar " is. Sure, you may know someone called "Foo Bar", but you don't know that it isn't some spammer who generated this keypair with your friend Foo Bar's credentials to get through your filters. Unless you have signed this key.

    I don't think you will ever be able to sign all the keys of everyone who might legitimately send you e-mail, but you can build a web-of-trust based on PGP's concept of ownertrust, and I have put some effort into it myself, so I now trust roughly 1500 keys.

    Doing this is a largish undertaking, however, and I think that is the main reason why I really can't envision PGP being useful for combatting spam in near future.

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid