Slashdot Mirror


Ask Slashdot: How Useful Are DMARC and DKIM?

whoever57 writes How widely are DKIM and DMARC being implemented? Some time ago, Yahoo implemented strict checks on DKIM before accepting email, breaking many mailing lists. However, Spamassassin actually assigns a positive score (more likely to be spam) to DKIM-signed emails, unless the signer domain matches the from domain. Some email marketing companies don't provide a way for emails to be signed with the sender's domain — instead, using their own domain to sign emails. DMARC doesn't seem to have a delegation mechanism, by which a domain owner could delegate other domains as acceptable signatures for emails their emails. All of these issues suggest that the value of DKIM and DMARC is quite low, both as a mechanism to identify valid emails and as a mechanism to identify spam. In fact, spam is often dkim-signed. Are Slashdot users who manage email delivery actually using DKIM and DMARC?

139 comments

  1. Very well by Anonymous Coward · · Score: 0

    You want longtime GI?

  2. Not really by Anonymous Coward · · Score: 4, Informative

    I do technical support for an industry leading antispam email appliance. Very, very few of the admins I speak with every day utilize DKIM.

    1. Re:Not really by Anonymous Coward · · Score: 0

      Funny... Same thing here, I find very few people ask about these things as well... So... yeah, this is confirmed then. Not terribly useful at this point.

    2. Re:Not really by Anonymous Coward · · Score: 1

      I'm still not convinced. I think that major email providers using it (to refuse e-mail if configured as such) is a GOOD thing. It enables the sender to use it and stop themselves from being spoofed. Unlike SPF, which is often ignored by the recipient, DMARC isn't and gives the sender control over how it's used. The digest e-mails are annoying imo .. but good that there's a mechanism in place for it.

    3. Re:Not really by IamTheRealMike · · Score: 1

      That does not equate to "DKIM is useless". Most email on the internet is DKIM signed at this point. If your clients don't use it, they're in the minority.

    4. Re:Not really by Anonymous Coward · · Score: 0

      I was merely stating my observation in response to OP's question "Are Slashdot users who manage email delivery actually using DKIM and DMARC?"

      You're right. DKIM is not useless. My completely anecdotal observation is that the big players, like yahoo, gmail, hotmail, comcast, large-scale email provider etc, have implemented DKIM records as well as DKIM checking, and that your average hospital, university, retailer corporate office, movie studio, mom & pop shop, restaurant conglomerate, etc has not.

    5. Re:Not really by Anonymous Coward · · Score: 0

      I deploy marketing emails for companies. They are extremely careful to do everything possible that keeps their email out of the junk folder, including opt-out links and headers, clear links, etc. DKIM is a requirement for most of the work I do. I've seen references to DMARC but never been asked to implement it.

    6. Re:Not really by Anonymous Coward · · Score: 0

      I do technical support for an industry leading antispam email appliance. Very, very few of the admins I speak with every day utilize DKIM.

      Same here, DKIM et all are a heavy handed way to address a problem, and we don't use them in our spam protection systems at this time.
      (Hard enough to get email admin's to get their rDNS right)
      And as pointed out by the original poster, many email marketing and spammers were the first to use DKIM et al

  3. DKILL, DMANGLE, DCASTRATE by Anonymous Coward · · Score: 1, Funny

    Are my preferred tools to use on spammers.

    1. Re:DKILL, DMANGLE, DCASTRATE by grcumb · · Score: 1

      I prefer DFENESTRATE, or in extreme cases, DCAPITATE.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    2. Re:DKILL, DMANGLE, DCASTRATE by N!k0N · · Score: 1

      I prefer DFENESTRATE, or in extreme cases, DCAPITATE.

      Too bad DFENESTRATE is a windows-only application.

    3. Re:DKILL, DMANGLE, DCASTRATE by Anonymous Coward · · Score: 0

      Also watch out for the Windows user service EMASCULATE-D.

    4. Re:DKILL, DMANGLE, DCASTRATE by Anonymous Coward · · Score: 0

      +1 Priceless

  4. Re:Frist Psot! by Anonymous Coward · · Score: 0

    I am so excited! And I don't even know what DMARC and DKIM are!!!!!!!

  5. working as designed? by green1 · · Score: 4, Insightful

    The poster complains that some email marketing (spam) companies don't provide any way to avoid being caught by these anti-spam tools... sounds like a good thing to me...

    1. Re:working as designed? by Anonymous Coward · · Score: 0

      SPF and DKIM check the envelope sender but the from header has to at least be the same domain as those or it's an instant fail. You could give them marketing.domain.com as the envelope sender, and provide the spf/dkim records accordingly. That would work fine.

      The real problem I've found is companies with multiple domains.. If they choose to send on behalf of another domain it won't work. Those companies just need to work within the system for it to be effective... Time will tell if that will be important enough for big reputable companies who are often spoofed for the purpose of sending viruses.

    2. Re:working as designed? by Pentium100 · · Score: 4, Insightful

      This. Every time I see a complaint that "some tool" makes it harder for "marketing companies" to send email I think that I should use that tool for my email servers if I am not doing that already.

      Pretty much nobody wants to get spam and that includes the marketing emails, not just the regular "vi@gr@" and "Nigerian prince" spam. Pretty much nobody cares that you do honor the "unsubscribe" link, because a lot of others don't, so it is much easier to just tag your email as spam and hope to never see it again.

    3. Re:working as designed? by Anonymous Coward · · Score: 0, Flamebait

      So, how is my neighbor, who isn't very good at anything except making statues (and spilling wine when drunk) supposed to figure this out? She makes statues, and has outsourced her email. She sends an email when she has something for sale, and the unsubscribe link works. What you propose is to deliberately damage her business because she outsources the parts she's not good at. Fuck off.

    4. Re:working as designed? by whoever57 · · Score: 1

      Actually, my central point was, as a non-email marketer, there is little value in spf, dkim and dmarc, since (according to spamassassin) they are poor indicators of whether something is spam or not.

      But, what the heck, it's easier to get in a cheap shot than a reasoned comment.

      --
      The real "Libtards" are the Libertarians!
    5. Re:working as designed? by whoever57 · · Score: 1

      This. Every time I see a complaint that "some tool" makes it harder for "marketing companies" to send email I think that I should use that tool for my email servers if I am not doing that already.

      Your reading skills need some more work. My point was that the tools are ineffective, irrespective of who is using them.

      --
      The real "Libtards" are the Libertarians!
    6. Re:working as designed? by MillerHighLife21 · · Score: 1

      Also means you should avoid those services. My company had to rule out MailChimp for email specifically because they wouldn't support those protocols. It's unfathomable to me that a company who's entire business revolves around sending email does not actually have a way to let you use these.

      --
      "Don't teach a man to fish, feed yourself. He's a grown man. Fishing's not that hard." - Ron Swanson
    7. Re:working as designed? by green1 · · Score: 1

      I don't want to get her emails whenever she has a statue for sale, and neither does the rest of the planet. If people want to get them, they'll go to her.

      I don't care if unsubscribe work. once it's in their inbox it's too late.

    8. Re:working as designed? by MikeBabcock · · Score: 1

      I use DKIM and SPF on all domains I administer with appropriate settings on each and then advertise DMARC records stating that SPF and DKIM should be expected on all messages. This means anyone attempting to send E-mail as one of my clients to a server using DMARC will fail. I see no down side either.

      --
      - Michael T. Babcock (Yes, I blog)
    9. Re:working as designed? by MikeBabcock · · Score: 1

      You obviously haven't experienced spam being sent out to people claiming to be from your domain yet -- you'll implement DKIM and SPF that week ...

      --
      - Michael T. Babcock (Yes, I blog)
    10. Re:working as designed? by HJED · · Score: 3, Informative

      It breaks a few mailing (discussion, not advertising) list programs (such as my uni's one) if you send from a SPF protected address because the list server forwards it with you address in the from boxs. Other then that it works well.

      --
      null
    11. Re:working as designed? by Anonymous Coward · · Score: 0

      We run e-commerce and large forums. Over time, it became next to impossible for us to deliver email .. forum activation notices, "your topic has a new reply", digests, orders / delivery confirmations etc. I could spend my life on email issues .. or I could just outsource it to someone like sendgrid, mandrill etc ... PLEASE get off the high horse that anything outsourced is spam. There are a lot of us, who are just trying to run a business and get shit delivered to inboxes for survival reasons.

    12. Re:working as designed? by Anonymous Coward · · Score: 0

      It's not spam if the person intentionally signed up for it (i.e., gave you their email address and manually checked a box that said they want to receive promotions or the newsletter, and then confirmed their email address by clicking a link sent to that address). Just because it is marketing material doesn't mean it is spam. It is only spam if it is *unsolicited* email.

    13. Re:working as designed? by WuphonsReach · · Score: 1

      SPF is all about preventing joe-jobs where someone sends out malicious email and uses your email address to do it.

      With properly configured SPF records (with "-all"), you're telling all of the mail servers of the world (or the majority which support SPF) that if the email doesn't come from a select (and small) group of IP addresses that they should discard it. A message that fails SPF verification is a very bad thing in most spam software and will get a severe down-vote.

      That being said, SPF is not anti-spam - it's anti-forgery. DKIM is also anti-forgery.

      (Yes there are teething pains with putting SPF on your domain. But you don't have to use it. But if you can, you should.)

      --
      Wolde you bothe eate your cake, and have your cake?
    14. Re:working as designed? by Anonymous Coward · · Score: 0

      IMHO, your adhominem attack on Pentium100's post is completely unfounded.

      p.s. Your writing skills need some work if that's what you think you communicated. My guess: your original post left out some important assumptions that are still clouding your ability to read your own writing.

    15. Re:working as designed? by WuphonsReach · · Score: 1

      It breaks a few mailing (discussion, not advertising) list programs (such as my uni's one) if you send from a SPF protected address because the list server forwards it with you address in the from boxs. Other then that it works well.

      Then that mailing list is poorly maintained. I belong to dozens of mailing lists on a domain with very restrictive SPF records and have never had issues.

      If you allow the mailing list to forge your email address, then *everyone* can forge your email address. The better mailing list software no longer forges your email address on outbound mail.

      --
      Wolde you bothe eate your cake, and have your cake?
    16. Re: working as designed? by soluzar296 · · Score: 1

      What is proposed is that marketing email is not a good thing. If i want to buy a product, I will go to the seller. They do not come to me, unless they wish me to use a competitor.

    17. Re:working as designed? by LordThyGod · · Score: 1

      Also means you should avoid those services. My company had to rule out MailChimp for email specifically because they wouldn't support those protocols. It's unfathomable to me that a company who's entire business revolves around sending email does not actually have a way to let you use these.

      I just looked at a Mailchimp delivered "Newsletter" and it has SPF, DKIM, and DomainKey.

    18. Re:working as designed? by jbmartin6 · · Score: 1

      Being snide isn't useful. You didn't make your point in the summary at all in this case. Pentium100's impression is very likely what everyone else read as well.

      --
      This posting is provided 'AS IS' without warranty of any kind, implied or otherwise.
    19. Re:working as designed? by allo · · Score: 1

      sounds just right. the sender should have the rights for sending from his "From" Adresse, disregarding the Envelope-From (which may be some relay server).

    20. Re:working as designed? by HJED · · Score: 1

      Whilst that is true, I don't have any say in how the software is setup and have to use it. I'm sure this is the case for many people, so it definitely is a strike against companies implementing reject or spam responses to spf.

      --
      null
    21. Re:working as designed? by MillerHighLife21 · · Score: 1

      Through their servers. You can't do it for your domain though (or at least you couldn't last year). Might have changed since they started offering their Mandrill product and virtually MUST have that capability.

      --
      "Don't teach a man to fish, feed yourself. He's a grown man. Fishing's not that hard." - Ron Swanson
    22. Re:working as designed? by MikeBabcock · · Score: 1

      Therefore as I said, it works as advertised. Mailing lists should never have been forging from addresses in the first place and DMARC and SPF help prevent that source of spam for many people.

      Sometimes breaking things is the correct behaviour.

      --
      - Michael T. Babcock (Yes, I blog)
  6. Meh by Psyko · · Score: 1

    spf, dkim, dmarc, so many ways to try and accomplish the same thing and none of them work well because nobody trusts any of them fully and few people have them fully implemented... Obligatory xkcd

    --
    01:36AM up 426 days, 2:46, 1 user, load average: 0.14, 0.11, 0.05
  7. Here we go again by Anonymous Coward · · Score: 5, Interesting

    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
    (X ) 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
    (X ) 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
    (X ) 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
    (X ) Huge existing software investment in SMTP
    ( ) Susceptibility of protocols other than SMTP to attack
    ( ) Willingness of users to install OS patches received by email
    (X ) 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
    ( ) Dishonesty on the part of spammers themselves
    ( ) Bandwidth costs that are unaffected by client filtering
    ( ) Outlook

    and the following philosophical objections may also apply:

    (X ) 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
    (X ) Whitelists suck
    ( ) We should be able to talk about Viagra without being censored
    ( ) Countermeasures should not involve wire fraud or credit card fraud
    (X ) Countermeasures should not involve sabotage of public networks
    ( ) Countermeasures must work if phased in gradually
    ( ) Sending email should be free
    (X ) 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
    (X ) 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!

    1. Re:Here we go again by Anonymous Coward · · Score: 0

      >(X ) Mailing lists and other legitimate email uses would be affected

      This sounds like a good thing.

    2. Re:Here we go again by Anonymous Coward · · Score: 0

      (X) White lists suck

      I have to disagree with you about white lists as I absolutely depend on them but then I only accept email that's 7bit ASCII encoded, It's using US Langauge Settings, it's from a USA IP Address and it's from one of my few contacts. Otherwise it goes into the spam folder unless it does not meet any of the other requirements and is then deleted from the server before I even download it.

      The reasons I use these and additional settings is pretty god damn simple. I don't know anything other the US English, I don't like Unicode and I don't have lots of freinds that know my name. Now get off my lawn

    3. Re:Here we go again by dcrocker · · Score: 1

      The clever form should have been attributed to its author, Corey Doctorow. . It has long been useful when responding to someone's believe that they have the Final Ultimate Solution to the Spam Problem (FUSSP).

      --
      Dave Crocker bbiw.net
    4. Re:Here we go again by allo · · Score: 1

      > (X ) technical ( ) legislative ( ) market-based ( ) vigilante

      > (X ) It will stop spam for two weeks and then we'll be stuck with it
      it will stop forgery. forever.

      > (X ) Requires immediate total cooperation from everybody at once
      It does not.

      > (X ) Lack of centrally controlling authority for email
      Not needed, not implemented

      > (X ) Huge existing software investment in SMTP
      None. SMTP stays as it is.

      > (X ) Armies of worm riddled broadband-connected Windows boxes
      Which do not have the keys for your domain.

      > (X ) Whitelists suck
      But its not a "i do only receive from" whitelist, but a "i only send from, you MAY reject otherwise" whitelist.

      > (X ) Countermeasures should not involve sabotage of public networks
      Bullshit.

      > (X ) Why should we have to trust you and your servers?
      WTF? Did you understand DKIM?

      > (X ) Sorry dude, but I don't think it would work.
      for its purpose. which is not (directly) fighting spam.

    5. Re:Here we go again by mcrbids · · Score: 1

      I've seen this lame list for 10 years, pretty much trolling bait. But based on this, I wonder if you even know how DKIM works?

      (X ) It will stop spam for two weeks and then we'll be stuck with it

      Pretty touch to crack legitimate encryption.

      (X ) Requires immediate total cooperation from everybody at once

      Not at all. You can use it, or not. If you don't use it, you essentially give permission for black hats to spoof your identity. Also, if you are an admin, you can choose what you do with DKIM.

      (X ) Many email users cannot afford to lose business or alienate potential employers

      How is being able to protect your account from being spoofed going to affect business?

      (X ) Lack of centrally controlling authority for email

      Why would you need one? DKIM is done via DNS and is under the control of the record holder.

      (X) Asshats
      (X ) Huge existing software investment in SMTP
      (X ) Armies of worm riddled broadband-connected Windows boxes
      (X ) Eternal arms race involved in all filtering approaches

      Do you actually know how DKIM works? Each of these points are either effectively made better with DKIM or are irrelevant.

      (X ) Ideas similar to yours are easy to come up with, yet none have ever
      been shown practical

      Care to name one?

      (X ) Whitelists suck
      (X ) Countermeasures should not involve sabotage of public networks
      (X ) Why should we have to trust you and your servers?
      (X ) Killing them that way is not slow and painful enough

      How is DKIM a whitelist? You really have no idea how this works, do you? Did you just fill in some boxes at random?

      I'll address a single point on here, to show how DKIM works rather well even in the worst of the points:

      (X ) Mailing lists and other legitimate email uses would be affected

      One of the products my company provides for schools is a "mailing list reflector" that in practice works very much like your average mailing list. In order to ensure delivery, all outbound email is signed with DKIM, even though we're really just forwarding the original message to the mailing list recipients.

      How is this done? Well, we use a dummy address for the "From" field like "originaluser@gmail.com " and then set the reply-to field to match the original sender. Thus, DKIM passes as we provide keys for mycompany.com, the user is "From" mycompany.com, and the end user is able to reply to get a message back to the sender without involving our mail server at all.

      It's a compromise, but it works well and we've had virtually no complaints.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
  8. Correct spellings by Anonymous Coward · · Score: 1

    Even of one pronounces Marc and Kim and DMARC and DKIM, their names should be written correctly! of course, you could wrote "The Marc" and "The Kim".

  9. On cooperative anti-spam measures by Anonymous Coward · · Score: 0

    Shaka, when the walls fell

    1. Re: On cooperative anti-spam measures by Anonymous Coward · · Score: 0

      Sokath, his eyes uncovered!

  10. DMARC and Google: multiple foobars by DamonHD · · Score: 2

    DMARC would work a lot better if Google for one didn't wrongly try to internally forward as-is *and then bounce* email from DMARC-controlled domains, thus making it impossible for example to get through for many support queries, and causing spurious problems with (say) Google Calendar when the account ID is in a DMARC-controlled domain.

    Left hand vs right hand Google? You guys are meant to be smart!

    That and randomly chucking email from DMARC-controlled domains in SPAM folders...

    Rgds

    Damon

    --
    http://m.earth.org.uk/
    1. Re:DMARC and Google: multiple foobars by Anonymous Coward · · Score: 0

      DMARC, DXMAK, and DKIM all suffer from this problem. Not to mention the spam domain problem.

      Solution: avoid.

    2. Re:DMARC and Google: multiple foobars by grahammm · · Score: 1

      No, the solution is to only check SPF and DKIM at your external borders (ie incoming mail on servers listed in your MX records). Internal servers should not be checking SPF or DKIM,

    3. Re:DMARC and Google: multiple foobars by DamonHD · · Score: 1

      That would be a very good step and eliminate most of the issue with Google, I agree.

      However, G also insists on, for example, sending out G Calendar notifications forged with my sign-in email, which is SPF/DMARC protected, and which other systems (and gmail) thus entirely correctly often reject.

      But I can't get anyone at G to even acknowledge the issue. (Would be nice if a Googler was reading this and would pass it on.)

      And, BTW, G also seems to ignore email other than from the a/c's login address, eg for AdSense/AdWords, which is a Catch-22, and one small reason why I am using them far less.

      Rgds

      Damon

      --
      http://m.earth.org.uk/
  11. Outsource email companies are terrible by david.emery · · Score: 2

    A lot of the mail I get that goes into quarantine or marked as spam comes from outsourced senders, where Domain.com uses some 3rd party to send mail on behalf of it. This can be ISPs, companies like Constantcontact.com or God-only-knows what else. Of course, the company who bought this service probably doesn't know or want to understand what the problem is, and the company that's doing the outsourcing has no real incentive to make sure their hosts (including SPF, etc) are configured properly.

  12. look into DXMAK by Anonymous Coward · · Score: 0

    We have moved to DXMAK, which supports delegation, distributed authentication, domain owner signing, and transfer-of-ownership features. Our IT dept evaluated a number of alternatives and settled on DXMAK as the most complete solution. It's been in trials for just over two months now with good results so far.

    1. Re:look into DXMAK by Anonymous Coward · · Score: 0

      DXMAK is not yet widely enough supported to be generally considered as a solution.

      Wait 5 years, then re-evaluate. Until then, it's DMARC or DKIM.

    2. Re:look into DXMAK by Anonymous Coward · · Score: 0

      Yeah, dxmak is so little known that googling for "dxmak mail" doesn't bring up anything useful.

  13. Mailing lists by Anonymous Coward · · Score: 0

    DKIM and DMARC provide methods which allow mailing list systems to avoid being flagged.

    http://www.dmarc.org/faq.html#s_3

    Mailing list operators do need to upgrade their mailing software.

    1. Re:Mailing lists by markus · · Score: 3, Interesting

      All of the work-arounds for mailing lists are broken in one way or another. Often so much so, that it breaks the overall usability of the mailing list in quite subtle and annoying ways.

      All mailing lists that I am subscribed to have taken the more expedient option of banning Yahoo users from subscribing to their lists. This has the nice side-effect that it makes users switch to a more modern e-mail provider in the process. After everything was said and done, most users were actually quite thankful for this...

      I think, Yahoo would have been smart to wait with the switch until after they worked on getting OAR to work. But that would actually require putting some work into this project; and as of lately, I am not sure Yahoo is really clear on which technologies they still want to seriously invest into, as opposed to putting everything into extended maintenance mode.

    2. Re:Mailing lists by tajribah · · Score: 2

      What they mention is not a list of solutions, but a list of silly work-arounds, which break well-established semantics of e-mail headers. Falsifying information about the author of the message (that is, the From header) for the sole sake of making the message compatible with DKIM is broken.

    3. Re:Mailing lists by IamTheRealMike · · Score: 1

      All mailing lists that I am subscribed to have taken the more expedient option of banning Yahoo users from subscribing to their lists. This has the nice side-effect that it makes users switch to a more modern e-mail provider in the process. After everything was said and done, most users were actually quite thankful for this...

      Guess what! It's people like yourself that make upgrading email virtually impossible. Congratulations on holding back the security of the email system for everyone, I hope you're pleased with yourself.

      Mailing lists that rewrite people's email whilst refusing to resign it as themselves are doing a man in the middle attack on people's email. MITM attacks are bad, right? That's why browsers reject them. They make phishing easier, spam classification harder and generally make the email ecosystem worse. By doing the same thing as modern web browsers Yahoo is not being old and fusty as you imply, in fact, they are on the cutting edge. Believe me, if it weren't for the preponderance of awful decades-old mailing list managers other mail providers would already be doing the same thing.

      The amazing features we get for these MITM attacks are ..... tags in the subject line, and, er, email list signatures. Both of which contain information redundant with the email headers, and both of which can be easily replicated by email client software.

      Not worth it, not even close. Please fix your mailing list instead.

    4. Re:Mailing lists by IamTheRealMike · · Score: 2

      That's not the case at all.

      DKIM allows mail providers to detect that a message was tampered with in transmit, and DMARC tells mail providers to trash tampered messages.

      Therefore, a mailing list has several options.

      Option one is: don't tamper with the signed data in transit. This is very easy. It means not doing things like editing the subject line or adding signatures to the end of mails, but any good email client can auto label or filter mailing list messages anyway, so this is not a big deal.

      Option two is: tamper with it, but resign under your own sending identity. This means the From header will be "wrong", but not really, because the message isn't really "from" the sender at this point. It would be more accurate to say the message resembles one sent by the original sender, but really, from a security POV, the mailing list could have done anything.

      I prefer option one, myself, but either works.

    5. Re:Mailing lists by tajribah · · Score: 1

      Unfortunately, DMARC breaks even mailing-lists which do not tamper with the contents of the messages at all. The reason is simple: SPF. Rewriting envelope senders is the proper way of forwarding mail since ages.

      If you want to have proper integrity checks of e-mail messages, use PGP, not DMARC.

  14. Sending e-mail reliably by StripedCow · · Score: 2

    Are there any guides out there describing how to send e-mail *reliably* these days?
    Seems that the RFCs don't cut it anymore, since there are so many undocumented rules that large e-mail providers (gmail, etc.) use.
    If you'd go by the RFSs alone, your e-mail just ends up in a spam-filter (at best) most of the time.

    --
    If Pandora's box is destined to be opened, *I* want to be the one to open it.
    1. Re:Sending e-mail reliably by raxx7 · · Score: 3, Interesting

      Follow the RFCs. Don't leave your outgoing server poorly configured.
      A number of e-mail servers check for strict adherence of RFCs, which many spambots fail.

      Implement DKIM and DMARC, maybe SPF.
      If you're using a mailing list, beware on how SFP/DKIM and DMARC can break it.

      Don't send unwanted bulk e-mail. Really. DON'T SEND UNWANTED BULK E-MAIL even if you're asking for donations to UNICEF.

      Don't let your outgoing e-mail server be used to send unwanted bulk e-mail. Don't leave it as an open relay, don't bounce messages, filter for e-mail outgoing unwanted bulk e-mail.
      If you can't sanitize it's output, consider using a different outbound e-mail server for the important stuff.

      Don't let your network be used to send unwanted bulk e-mail.
      If you can't sanitize your network, place your outgoing e-mail server somewhere else.

      Don't place your outgoing e-mail server in a domestic internet access. Most of they are permanently blacklisted.

      Beware of your ISP/data center's network.
      If they are not active in blocking spammers on their system/network, you can become blacklisted as a collateral damage.
      Be specially beware of shared hosts.

    2. Re:Sending e-mail reliably by innocent_white_lamb · · Score: 2

      Don't place your outgoing e-mail server in a domestic internet access. Most of they are permanently blacklisted.
      Beware of your ISP/data center's network.
      Be specially beware of shared hosts.

      Don't use your own Internet service, don't use your ISP's network, don't use a datacenter's network, and don't use a shared host.

      What's left? I see nothing more other a carrier pigeon or a paper envelope with a stamp on it.

      --
      If you're a zombie and you know it, bite your friend!
    3. Re:Sending e-mail reliably by raxx7 · · Score: 1

      I'm pretty sure I didn't write "don't use" all of that stuff.
      I just wrote "beware".

      The majority of ISPs, data center operators and hosting providers are pro-active or act quickly to keep their networks clean of spammers -- they don't want to end up on Spamhaus' shitlist.
      I don't have any problems with our business internet connection, nor do I have any problem with my hobbies' hosting providers.
      I do my bit to keep clean and they do their bit and it all works well.

      But some operators are lazy and a minority actually try to cash in on being spammer friendly.
      Beware of those. Because they'll end up getting you on Spamhaus' shitlist.

    4. Re:Sending e-mail reliably by MikeBabcock · · Score: 1

      That blocking of ISP ranges is a real problem -- many ISPs offer business dedicated IP ranges suitable for running services like E-mail off of but are incorrectly marked as home network addresses by various idiots.

      --
      - Michael T. Babcock (Yes, I blog)
  15. Good show of not much use by Anonymous Coward · · Score: 0

    It's cute to see them try, but the failures were more or less inevitable from the start. Reasons why left as an exercise.

  16. I send bulk email.. by TechyImmigrant · · Score: 4, Informative

    I send bulk email for an opt-in list with mailman (opt in as in you have to walk in the store and physically write your email on our sign up sheet).
    We have Google host the email for the business and use self hosted for the important stuff.

    To get SPF and DKIM working for the business I determined that I could not do this through google. The bounces get redirected to the wrong place and the sender auth fails. I needed bounces to come to me, not Google, so mailman could do the bounce processing. So I had to set up a separate self hosted mail machine with a separate domain, so that the sending domain could match the sender and the bounces could come back to the same place and get bounce processed.

    Email sucks and SPF, SKIM and probably DMARC suck.

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    1. Re:I send bulk email.. by Animats · · Score: 0

      Well, yes. Why should Google give you free bulker hosting?

    2. Re:I send bulk email.. by TechyImmigrant · · Score: 1

      Free? We pay them for the service.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    3. Re:I send bulk email.. by dotancohen · · Score: 3, Informative

      Email sucks and SPF, SKIM and probably DMARC suck.

      What is wrong with SPF?

      v=spf1 include:_spf.google.com a -all

      That will let you send mail through google, and additionally through any server mentioned in an A record. DKIM sucks, yes, I agree.

      --
      It is dangerous to be right when the government is wrong.
    4. Re:I send bulk email.. by TechyImmigrant · · Score: 1

      Fair enough. It's not SPF. It's Google rewriting the wrapper and DKIM.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    5. Re:I send bulk email.. by Anonymous Coward · · Score: 0

      I think google has support for DKIM though... I don't know of the bulk mailer aspect but I use it to host my own domain (google apps) and they have a wizard that enabled me to set up the public key on my dns and choose my selector. I would imagine they'd have the same thing here. As long as the sender and from header are from the same domain (subdomain.domain.com and domain.com will align correctly) then you should be ok for dkim too.

    6. Re:I send bulk email.. by Anonymous Coward · · Score: 0

      "opt in as in you have to walk in the store and physically write your email on our sign up sheet"

      You mean opt in as you have to walk in the store and physically write *some* email on our sign up sheet. I get tons of what I'm sure is "legitimate" stuff, where someone has put my email address in.

    7. Re:I send bulk email.. by TechyImmigrant · · Score: 1

      By requiring someone to walk in and give us their email to get our monthly mailing prevents a hacker undermining an online sign up and adding thousands of email addresses.

      The store is my wife's yarn store. My job is a security architect for a chip company, so our online presence is probably more secure than most yarn stores who's owners have no experience in computer security.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    8. Re:I send bulk email.. by Anonymous Coward · · Score: 0

      We pay google too and they were blocking so many of our outbound emails (NOT spam) that we now use a separate server for outgoing mail. After hours on tech support getting totally inccorect information, we were finally able to verify that their outgoing spam filters were falsely classifying out emails as spam, they claimed there is no way to whitelist us even though they had manually verified that our emails were not spam, and their recommended solution was to hide our messages as images (like actual spammers often do). What a joke.

    9. Re:I send bulk email.. by WuphonsReach · · Score: 1

      I send bulk email for an opt-in list with mailman (opt in as in you have to walk in the store and physically write your email on our sign up sheet).

      It's not opt-in unless you send out a verification email to the address on the sign-up sheet. You have zero guarantee that the person writing down that address has the permission of the person who receives mail at that address. That verification email should explain how you obtained the address and require action on the recipient's part in order to remain on the list. If you get no response or the recipient takes no action, you should throw away that record.

      No, you're not allowed to do advertising in that initial mailing either. And those "asking permission" emails should go out sooner (within a week) rather then later (months+).

      --
      Wolde you bothe eate your cake, and have your cake?
    10. Re:I send bulk email.. by TechyImmigrant · · Score: 1

      I have .com (and I pay the SSL tax for a cert)
      I had to add mail.com to handle the bulk mail sending.

      Of course the ISP fee is three times the price for a small static IP range and not blocking outgoing SMTP port
      .

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    11. Re:I send bulk email.. by TechyImmigrant · · Score: 1

      Thank you for teaching me how mailing lists work. Now I'm much cleverer that I used to be.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  17. Outsource email companies are terrible by Anonymous Coward · · Score: 1

    That's because the 3rd party isn't doing it right. When one receives such a message for forwarding, one is supposed to verify that it passes the checks and then resign them with your information. And as long as the specification works you wind up with a message being accounted for all the way to the sender.

    And you're right that the sender ultimately has responsibility here. They're also the ones that get burned when emails wind up disappearing because somebody's server won't pass them on.

  18. SpamAssassin & DKIM by Zocalo · · Score: 4, Informative

    Default scores in SpamAssassin have been assigned based on tests against a large corpus of both emails to obtain a statistical likelihood that a given email will be spam or not for ages, so I take the positive score (more likely to be spam) as a pretty solid indication that its use doesn't provide a good indicator of legitimate mail. Ironically, the biggest culprit for that is probably one of DKIM's biggest proponents, the sheer volume of spam from compromised Yahoo accounts and signed by Yahoo's outbound mail relays is largely responsible for that positive score in my experience - if only they'd do better spam filtering of their outbound email... Not that they are the only ESP with that failing, of course.

    --
    UNIX? They're not even circumcised! Savages!
    1. Re:SpamAssassin & DKIM by Anonymous Coward · · Score: 1

      This. Wish I had mod points for you.

      If DKIM raises the probability that SpamAssassin will block a mail, that's because SpamAssassin believes, based on statistical analysis, that DKIM-marked e-mails are more likely to be spam. DKIM never stopped spam, but spammers just adapted to it. Mailing lists admins didn't have the training and resources to adapt as well. There's very little difference between listservs and spam, except training and resources: the spammers are pros.

    2. Re:SpamAssassin & DKIM by Just+Some+Guy · · Score: 1

      That's not how it works. SpamAssassin scoring is "stupid" and stateless, which is a deliberate (and good!) design. You don't write rules like "give negative (less likely to be spam) scores to valid DKIM signatures, but positive scores to invalid signatures". Instead, you write two rules: "add 3 if there's a DKIM signature" and "subtract 3 if the DKIM signature validates". The net result is that unsigned email doesn't get a DKIM-related score adjustment. Email signed with an invalid signature gets 3 added to it. Email with a valid signature doesn't have a net gain or loss (+3 for DKIM signature present, -3 for DKIM signature valid = 0 net adjustment).

      Those positive scores have zero to do with SpamAssassin's opinion on valid signatures. They reflect a judgement on invalid signatures. If you're faking signatures from joeuser@example.com, you're probably up to something.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:SpamAssassin & DKIM by Zocalo · · Score: 1

      I was talking about the *net* average score for DKIM signed emails as a whole, which does indeed seem to be positive - e.g. more likely to be spam - and pointing out that the one major reason for that being the case is actually Yahoo! because they put a *legimate* DKIM signature on their outbound email regardless of whether it's spam or not. The upshot of that is that a lot of spam from compromised accounts hits the net with a valid DKIM signature and so the probability of an email with a valid DKIM signature being spam is quite a bit lower than it probably ought to be, so SpamAssassin's analysis tool assigns a smaller score to seeing a valid DKIM signature than might otherwise be the case. A fake DKIM signature clearly is going to get a significant score, no matter what.

      An individual email will, of course, have a combination of positive and negative scores as you say, with the individual rule scores coming from a statistical analysis of test runs (you can do them yourself if you wish and have a decent corpus - the tool is known as "mass-check") against the team's accumulated email corpus.

      --
      UNIX? They're not even circumcised! Savages!
  19. Meh by Anonymous Coward · · Score: 1

    That would be an acceptable thought, except that even when it was just SPF and DKIM most admins didn't bother with it. And you're really supposed to be using both as they don't do they complement each other.

    Ultimately, ti's the same as IPv6 nobody bothered because they wanted everybody else to go first and meanwhile nothing was being done.

  20. 3-5 business days by Anonymous Coward · · Score: 1

    Orbitz uses DKIM in their email blasts. They ignore all requests to be removed from these email blasts.

  21. DMARC reject destroyed our majordomo listserv by Anonymous Coward · · Score: 1

    We've been running it since 1997 and it was fine until AOL changed their policy. Then some members on the list couldn't get email. And they reported problems with other lists. I made a change to the server but it didn't help and more big ISPs started rejecting traffic from our list. Earthlink outright banned our ISP for it's 5 members and the owner of the system had to contact Earthlink to get it fixed. It took two weeks and in the end we were asked to shutdown our list.

    I don't know what others are doing, but we ended up moving to Google Groups, but only half the people came over. The rest just felt 'this internet thing' was to much trouble and are are doing without.

    I'm stuck in the middle trying to administer the list when it's out of my hands. Some still think I have something to gain by moving it to Google Groups.

    1. Re:DMARC reject destroyed our majordomo listserv by allo · · Score: 1

      > AOL
      i found the problem.

  22. DMARC and friends are useful by Anonymous Coward · · Score: 0

    First, Yahoo didn't publish a strict check on DKIM. They published a p=reject within their DMARC record, which validates SPF and DKIM. Second, it's far from just Yahoo, and more are coming. If you are an orgranization that is concerned about phishing, or wants to protect a brand, you should probably look at DMARC for your messages. There are some organizations that are doing Domain Reputation based on the DKIM signatures in messages, which would help you if your platform moves IP space, or enables IPv6. This is not a cure-all, but it's part of the process, and yes, it introduces some problems. While you're at it, start using TLS for sending/receiving, and check if your MTA has DANE support on their roadmap (Postfix already has it).

  23. Re:Frist Psot! by Anonymous Coward · · Score: 0

    And neither of you got first post! W00t!

  24. More harm than good by Enry · · Score: 1

    Can't e-mail people on AOL or Yahoo anymore, and anyone on those services can't sent to a mailing list.

  25. Why the mailing lists broke... by tlambert · · Score: 5, Informative

    Why the mailing lists broke... They didn't follow RFC 2476 with regard to RFC2822 headers and what can and can not be rewritten, and then they failed to sign the messages with their own mail server signatures.

    If you are going to send messages, the policies and protocols force you to take responsibility for the fact that you've sent them, and if you're unwilling to do that, then you don't get to send mail to people who don't like you not taking responsibility.

    Too bad, so sad, fix your configuration or you lose.

  26. Only if you're a spammer by ourlovecanlastforeve · · Score: 4, Informative

    Former technical support rep for an email marketing company, here.

    You only need DKIM if you send a massive amount of mail to users at Yahoo or Microsoft (outlook.com, hotmail) domains.

    The purpose of DKIM is to verify the mail you're sending is actually coming from your domain and not someone who is spoofing your domain.

    Nobody cares about DMARK.

    Yahoo and Microsoft throttle email based on whether or not your domain has proper DKIM keys setup.

    If you don't have them set up you can only spam about a thousand messages before you get blocked.

    However if you set up DKIM you can spam Yahoo and Microsoft mail (hotmail, outlook.com, etc) users all day long and those mail providers will turn a blind eye.

    1. Re:Only if you're a spammer by IamTheRealMike · · Score: 1

      Nobody cares about DMARK? Seriously? If you're going to try and claim to be some kind of authority on anti spam, at least try and spell the names of the standards correctly! It's DMARC!

      The asker of slashdot, and you, are both deeply confused about what these technologies are for.

      The purpose of DKIM is not to be some kind of "anti evil bit". DKIM signing your mail does not imply it is or is not spam. The only thing DKIM does is make it easier for spam filters to identify the source of mail, so that mail stream can be more reliably classified. As it happens, many spammers don't want their email stream to be easily classified because they know their mail is not spam, so they don't sign with DKIM, but there's no inherent reason they can't and some spammers do. That's especially a problem for crappy marketing firms who genuinely believe people love their mails, but actually people don't. DKIM helps correctly classify mail in that case.

      I'll repeat again. No good spam filter I'm aware of (sorry, plain old SpamAssassin doesn't count) treats the mere presence or absence of DKIM as a signal.

      With one exception. That exception is when trying to fight phishing mail. If a mail claims to come from admin@yahoo.com then a good mail system will look up the yahoo.com DMARC records and see that yahoo.com claims all email from it should be signed using DKIM. If the mail isn't signed, then it can be rejected according to that DMARC policy. This means phishers can no longer forge mail that claims to be from a Yahoo address that it's not actually from. Also - mailing lists that do MITM attacks on people's mail, same thing.

    2. Re:Only if you're a spammer by Anonymous Coward · · Score: 0

      However if you set up DKIM you can spam Yahoo and Microsoft mail (hotmail, outlook.com, etc) users all day long and those mail providers will turn a blind eye.

      I'd like to tentatively confirm this. One of our mail servers handles all mail for one domain; many of the users in this domain send a lot of crap. We were having a lot of trouble with Yahoo blacklisting this server. I set up DKIM for that one particular domain and we've not had an issue for months.

    3. Re:Only if you're a spammer by MikeBabcock · · Score: 1

      I don't recommend hiring the OP here; not only do they not realize its DMARC, but they don't seem to realize what DMARC and DKIM actually accomplish.

      Luckily there are easy-to-read summaries like this one: https://support.google.com/a/a...

      --
      - Michael T. Babcock (Yes, I blog)
    4. Re:Only if you're a spammer by grahamm · · Score: 1

      You should also be using DKIM, SPF and DMARC if you are bank, a financial institution, or other domain which is high risk for forged phishing emails purporting to be from you. This allows the recipients to differentiate between your legitimate emails and forgeries.

    5. Re:Only if you're a spammer by tepples · · Score: 1

      But if you have a third-party sender relay mail through your network, as the linked page recommends, the messages are likely to get classified as unwanted due to your IP address being in a block on the "residential and small office" list.

    6. Re:Only if you're a spammer by MikeBabcock · · Score: 1

      I don't know what your point is at all.

      A) I send my own mail, I sign it all using DKIM and advertise a DMARC record that says so.
      B) I have a third party I trust sending mail as me, I send them a key to sign mail with and add them to the SPF senders list and advertise a DMARC record saying so.
      C) I have a third party relay messages through my own server; A) applies and works fine.
      D) I use a third party relay myself, I sign the messages before going out and publish an SPF record saying they are trusted and a DMARC record saying these are true.
      E) I don't sign all my mail, I may or may not send from trusted hosts; I publish a DMARC record saying not to block unknown sender IPs and unsigned messages.

      In all cases, DMARC helps tell the recipient what to expect. The fact that your outbound server is blocked by a stupid IP-level blacklist based on your ISP has *nothing* to do with SPF, DMARC or DKIM.

      --
      - Michael T. Babcock (Yes, I blog)
  27. Please consider both sides... by sithlord2 · · Score: 3, Interesting

    Basically, there are two sides to implementing SPF and DKIM:

    - Outgoing mail: yes, it's probably a good idea to set up SPF and DKIM on your outgoing mail-servers and DNS. You'll less likely end up in the "junk" folder of Hotmail or GMail. Setting up SPF and DKIM is actually not as hard as some people seem to think. There are enough free services on the Internet that will check if your config is correct. While you are at it, make sure your mailserver is configured to use the STARTTLS SMTP command. Most spammers don't use TLS over SMTP, so it's a little extra that can give you an advantage in anti-spam filters.

    - Incoming mail: this is where most of the problems arise. There are a lot of mail servers out there that don't implement it, or don't implement correctly. For my personal mail setup (which runs on PostFix), I decided to implement them as they should be (SPF softfail/hardfail according to sender DNS records etc...). If you run a business, this might result in loss of business mail, so might want to ignore SPF and DKIM

    TL;DR: Configure it for your outgoing email, ignore it for incoming mail. ("Be Strict with Yourself and Lenient Towards Others" - Fan Chunren )

    --
    ...You are over-qualified and under-paid. If we give you a raise, we will break the cosmic balance of the universe.
    1. Re:Please consider both sides... by Daniel_Staal · · Score: 1

      Setting up SPF correctly for your domain does have the side-effect of stopping a lot of bounceback spam (where they forge your address and send it to someone else, so you get the rejection), and can be useful for that reason alone.

      But yeah, incoming mail it's not really a big discriminator. Worth looking at slightly, but not really all that useful. (Which means in general it's just more work you'll need to do to set up an email server, which doesn't have much benefit.)

      --
      'Sensible' is a curse word.
  28. Very Useful by zamboni1138 · · Score: 3, Interesting

    I have DKIM and SPF in place for a domain that needs to send out important emails. It is not that difficult to get in place (assuming you're already comfortable with DNS, SMTP, Public/Private key encryption and debugging email problems). Setting up OpenDKIM alongside a PostFix install is straight-forward. And you don't need to buy a Certificate from a CA to get it working for the public.

    Google checks both the SPF and DKIM when receiving mail, and you can see the results their servers come up with in the header of the received mail. Your message will also display "signed-by: [domain.tld]" in the header details popup.

    I have never seen or gotten reports of emails that pass both DKIM and SPF checks going into Google's "spam" folder or otherwise being delayed/redirected.

    In short, I find it very useful to help assure my customers that data will be kept flowing properly, to the best of my ability anyway. Haven't looked into DMARC much.

  29. Used worngly, contrary to the IETFs advice by davecb · · Score: 3, Informative

    These mechanisms are only valid for "transactional" business email, where business correspondents need the email credibly labelled by the sending company. It's OK for stuff where you establish who to talk to by mail, telephone or wild-ass-guess, and make deals based on that lebel of security.

    It's utterly inappropriate for mailing lists, remailers, discussion groups or material gatewayted between email and usenet or web services. The workaround are lies, told to convince the anti-spam functions of DKIM et all to let it through.

    About a week after DKIM broke all the IETF and ISOC lists, the spammers were signing their spam so as to be deliverable once more. I was on the ISOC list at the time, and some unkind words got said about Yahoos.

    --
    davecb@spamcop.net
  30. DMARK is neither necessary nor sufficient by davecb · · Score: 2

    p=reject is a extremely strict check: if it doesn't pass, the email service drops it. It is only for transactional business mail, and should never be applied to mailing-list mail. Ask the IETF authors.

    Yahoo, AOL and friends were under severe pressure to "do something, anything". They did do something, it's just that ...

    A week or so later the spam had proper signatures.

    --
    davecb@spamcop.net
  31. Yes, they work very well by MillerHighLife21 · · Score: 5, Informative

    I implemented the strictest controls possible for a site that was being heavily phished and it worked very well. Here's the things you have to understand about DMARC, DKIM, and SPF (since SPF matters to DMARC too).

    As a basic overview, here's what these do.

    SPF = Only allow emails from specific domains / ip addresses
    DKIM = When an email arrives, verify the signature with the domain it claims to be from to ensure it actually came from there
    DMARC = How strict should we be with SPF and DKIM?

    DMARC in itself isn't an actual verification system. What DMARC does is allows you to tell mail servers exactly how to handle emails that do not pass SPF and/or DKIM checks. Without DMARC, mail servers have to guess and basically follow their own rules. If you've taken the time to document where email from a particular domain comes from (including 3rd party services), ensured that your SPF includes everything, and have verified that all emails are signed with DKIM then eventually you can be strict enough with your DMARC settings to say that anything not passing both SPF and DKIM can simply be trashed. That's what the strictest setting looks like. You can also tell mail servers to send it to the spam folder, just in case you missed something. You can tell it to treat SPF strictly and ignore DKIM or vice versa. You can tell it to apply your DMARC rules to a percentage of your emails (to make it easier to transition into to using it with a small group of messages). You can also have providers send you an XML based email of the days activity to see how messages were handled from different services and where those messages originated. The reports can be a pain to make sense of but once you have everything setup properly you tend to stop looking at them.

    It's important to remember, because SPF if easier to implement since it's just a DNS rule. For DKIM you have to actually sign the email before it's sent which may or may not be possible from all of your various points of email origin. DKIM is better, but that makes it more complicated. And that's why you have to have something like DMARC so that you can tell mail servers just how thoroughly those rules have been implemented.

    The site that I implemented it for was a very old site where people managed high dollar transactions over email. Phishing was RAMPANT but even more so because there was a good chance a phisher could pass off an email as actually coming from our domain. The combination of 3 protocols in strict mode stopped that completely. It didn't stop PHISHING, but it did secure our domain against it. After that phishers had to use other domains, leaving off a middle letter, trying spelling variations, etc. This gave us the ability to work with registrars to either buy the domains or report the domains for abuse.

    As an early poster said, you can't completely stop phishing but there are preventative measures you can take to protect compromised accounts.

    After that we took additional steps to secure users accounts. We started recording ip addresses with all logins or return visits along with geographic data from MaxMind. Once we had enough sample data to create a general point of origin, we started locking accounts if they were accessed more than 200 miles from their normal center point and always if they logged in from a different country. As soon as the account was locked for a geographic reason, we sent users an email notifying them that their account had been accessed from another country or outside of their area and that if this lock was in error, they could click a link to disable that function for 2 weeks while they were traveling. Otherwise they should change their password. Users really appreciated it. We expected some usability frustration, but overall these users were very happy to know we were watching out for them.

    People also tried to create fake accounts on the system to initiate transactions. For that, we took a page out of Fark's playbook. On Fark, when you get blocked / banned you don't KNOW you've been banned.

    --
    "Don't teach a man to fish, feed yourself. He's a grown man. Fishing's not that hard." - Ron Swanson
    1. Re:Yes, they work very well by Anonymous Coward · · Score: 0

      The other part is even if you are using these mechanisms, not implementing both DKIM and SPF brings a sender closer to the spam bucket.
      At this point you should assume every IP has been used an recycled a few times. As such, it is not a good thing to baseline reputation off of.
      Machine learning spam filters will use your IP, SPF and DKIM keys to cross correlate your mail and try to judge your reputation as a whole.

      They will also be used as the baseline for your reputation.
      If you add a new server, it should inherit your reputation from the other mail signed with your key or that are in your domain (spf record).
      Also, if you send some junk and some quality mail on the same set of servers (as you with a shared IP), DKIM allows the spam filters to differentiate between "quality A" and "quality B"

      DKIM is a signing technology,
      1.) is this message from the domain holder?
      2.) Has it been altered in flight?

      SPF is a whitelist
      1.) these are my mail servers. Anything else, may not be mine

      Generally if 1 of the two passes, your mail will get through
      However, these two mechanisms validate the Envelope from address (not the payload).

      SPF and DKIM validate the Envelope FROM address while DMARC checks the "Payload" From address.
      DMARC is targeted at the "sent on behalf of" situation where the Envelope and Payload from do not match.
      If the envelope and payload do not match, you (who the mail is supposedly from) gets to tell the recipient's server how to handle the issue.

      Yahoo, Facebook and AOL are using strict DMARC rules.
      Yahoo, Gmail, AOL and Facebook are respecting DMARC settings.

      So, if I send a message (however legit) on behalf of a yahoo user to a gmail user, it will be rejected.

      DMARC does not need delegation. Both SPF and DKIM have a delegation mechanism.
      SPF has an include a different domain syntax.
      A message can have multiple DKIM signatures (only 1 has to be valid)

      In it's barest form an email dialog looks like this

      MAIL FROM: foo.at.bar.com (DKIM/SPF work here)
      RCPT TO:you.at.gmail.com
      DATA
      from: foo.at.bar.com (DMARC checks this)
      to: you.at.gmail.com
      subject: wooo
      message body
      .

      So, in this case, DKIM, SPF and DMARC will probably pass if the mail is legitimately from foo.at.bar.com
      If the mail is not from foo.at.bar.com, either DKIM or SPF will fail.

      If the "from: foo.at.bar.com" (second from) was changed to "from: foo.at.YAHOO.com", this would also pass DKIM and SPF. Hover, it would not generally pass DMARC (unless there was a yahoo dkim signature OR yahoo was including your domain (bar.com) in their SPF records)

       

    2. Re:Yes, they work very well by dcrocker · · Score: 1
      For all of the goodness of the above extended comment, it misses some important marks:

      DKIM assigns a validated identifier to a message. It does /not/ tell you who "sent" the message, in the sense that folk normally mean. The validated identifier, for example, does not have to have anything to do with the message author or the originating organization. However once a message reliably has a validated identifier, then that identifier can be used to build a noise-free reputation. The DKIM identifier can't be used by unauthorized actors.

      DMARC links the DKIM and/or SPF identifier to the domain of the author (rfc2822.From) field AND it can declare the domain owner's preference for what receivers should do with mail that has that domain in the From: field but doesn't get DMARC validation. Receivers are free to conform to that guidance or do whatever else they deem appropriate.

      The underlying point here is that these mechanisms work best at identifying valid mail and at letting receivers build up reliable reputations for the domains using these mechanisms.

      IMO all of the uses of these mechanisms for identifying bad messages and bad actors represent a near-term, transient artifact, because it is still much too easy for bad actors to "route around" these mechanisms. And the major lesson of the last 20 years of fighting email abuse is that bad actors are very adaptable.

      --
      Dave Crocker bbiw.net
    3. Re:Yes, they work very well by cerberusss · · Score: 1

      Dude, this is why I visit slashdot. Great info, thanks a lot.

      --
      8 of 13 people found this answer helpful. Did you?
    4. Re:Yes, they work very well by MillerHighLife21 · · Score: 1

      Thanks! From what I understand it's pretty rare for a company as small as that one to get phished as heavily as it was. Having full responsibility to deal with something like that among other development priorities was a unique experience.

      --
      "Don't teach a man to fish, feed yourself. He's a grown man. Fishing's not that hard." - Ron Swanson
  32. Forget them! by BartholomewGallacher · · Score: 2

    DKIM, SPF and DMARC are in reality not very wide implemented, but the thing is many biggies in the tech scene implemented them, so that millions of mail adresses are now being affected by them. The thing is, anyone can sign his emails with DKIM. This only tells that he's able to do it, it doesn't tell anything about if it is Spam or not. In fact, many spammers were the first to sigh their mails with it. DKIM is only a mechanism to make sure the sending domain is not being forged, nothing more, nothing less. DKIM alone is harmless. You can tell your milter what to do with such mails, if you want to. The next thing is SPF or Sender Policy Framework. This in short allows administrators to setup an IP or bunch of hosts as official mail exchanges, so that you can tell your MTA to discard mails which do not originate in such stuff. Problem is, for example, web based recommendation formulars, in which you enter your mail adress - broken. Using other MTAs on the road - broken. Forwarding/bouncing mails - might also be broken. DMARC then is the top of the former two, because the reason of this standard is the ability to provide a policy what other MTAs should do if either a) DKIM or b) SPF or both do fail at the same time. DMARC is not a way to get less spam, it is only a way to be able to reduce the abuse of your own domain with spam. And it does break quite much legitimate use cases of email, so it is a bad idea.

    1. Re:Forget them! by Anonymous Coward · · Score: 0

      Agreed. In practice I've found DKIM, SPF, DMARC, and the not yet ready for primetime DXMAK to cause more pain than they are worth. None of them seem to solve the actual problem, while causing all manner of difficulties for things that used to work without a hitch. It just causes support burden with little to no benefit.

      There IS a problem, but none of these things are the solution to it.

  33. DKIM + SPF: OK; DMARC: NEVER! by Anonymous Coward · · Score: 0

    I do not see much benefit, but it was not too hard to set up and does not need maintainennce.
    DMARC: utter crap breaking mailinglists - therefore: NO.

  34. Yahoo is a part of the problem by bigtrike · · Score: 1

    Valid DKIM signed mail from Yahoo still has a very high likelihood of being spam. They don't seem to do nearly enough to prevent spam originating from their network.

    1. Re:Yahoo is a part of the problem by NormalVisual · · Score: 1

      Big time. When a lot of the spam you get is from compromised machines, a valid DKIM signature means absolutely nothing. I have both SPF and DKIM implemented on my mail server, and I honestly can't say it's made much of a difference except I almost never get bounces from outgoing mail.

      --
      Please stand clear of the doors, por favor mantenganse alejado de las puertas
    2. Re:Yahoo is a part of the problem by MikeBabcock · · Score: 1

      DKIM does NOT mean that a message isn't spam, it means that Yahoo really sent it.

      DKIM is fixing a completely different problem; random spammers sending out E-mail from their own servers claiming to be from Yahoo (or another domain).

      I've had this happen to domains I administer and its incredibly annoying, especially when clients get E-mail claiming to be from me. DKIM fixes this problem.

      --
      - Michael T. Babcock (Yes, I blog)
  35. Armies of worm riddled connected Windows boxes .. by lippydude · · Score: 1

    Haaa ...

  36. Yahoo DMARC caused mail bounces by kbahey · · Score: 1

    I had lots of mails bounce after Yahoo implemented DMARC.

    However, with a bit of patience, I was able to implement DKIM and SPF for my domain, and now all the mails get delivered to Yahoo addresses.

    I wrote about how ot configure SPF and DKIM in this article: Setting up SPF and DKIM for Postfix.

  37. DMARC helps protect against phishing by Anonymous Coward · · Score: 0

    DMARC's biggest use is to give the true owner of a domain visibility into who is trying to fake their domain. That's why ADP adopted it. They were getting phished left and right and since they implemented DMARC (which always includes DKIM and SPF) we have not seen a single phish against them and it used to be a dozen a week.

    The biggest drawback to DKIM.SPF/DMARC is you must have control of who sends email using your domain. If you're sloppy as heck and let every one of your vendors pretend they are you, you can never get it to work. And that is why you will continue to be used for phishing.

  38. successful spammer by Anonymous Coward · · Score: 0

    Return-Path:
    Received: from deliver ([unix socket])
    by mail.yourstruly.sx (Cyrus v2.4.17) with LMTPA;
    Mon, 27 Oct 2014 21:18:25 +0200
    X-Sieve: CMU Sieve 2.4
    Received: from localhost (localhost [127.0.0.1])
    by mail.yourstruly.sx (Postfix) with ESMTP id E4C969A7C0
    for ; Mon, 27 Oct 2014 21:18:24 +0200 (EET)
    X-Virus-Scanned: amavisd-new at yourstruly.sx
    X-Spam-Flag: NO
    X-Spam-Score: -0.719
    X-Spam-Level:
    X-Spam-Status: No, score=-0.719 tagged_above=-9999 required=5
    tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7,
    RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]
    autolearn=ham autolearn_force=no
    Received: from mail.yourstruly.sx ([127.0.0.1])
    by localhost (mail.yourstruly.sx [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id 1gOpQmni8Vot for ;
    Mon, 27 Oct 2014 21:18:20 +0200 (EET)
    Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44])
    by mail.yourstruly.sx (Postfix) with ESMTPS id A1AB39A7BF
    for ; Mon, 27 Oct 2014 21:18:19 +0200 (EET)
    Received: by mail-wg0-f44.google.com with SMTP id y10so6262493wgg.27
    for ; Mon, 27 Oct 2014 10:53:03 -0700 (PDT)
    X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=1e100.net; s=20130820;
    h=x-original-authentication-results:delivered-to:date:from:to :message-id:subject:mime-version:content-type :content-transfer-encoding;
    bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
    b=lOGcjkYa6sfUltuhrp5iMxumgjx3zGCt0aUUaSY2La/8Y7myIgXfYiqWSGkAp5pf6e
    zOzvQ5hf7ptShiKJPS797iXuv+4FW/JC+qifHVdURmtUakAigSsTRjmoVutzIfAkDKlG
    d1/dit5ix/QSc9FJhepCJDtwEdkosG68nQGX5AvklGZ5dfB0GzoumZBDzH8E680JxxCy
    ZYPUIO2TyzOgwT4vASBWUCwbwYQpL2BqqBj9/0Ip1zLSOs6hgT2RE7xlwaUVm4xoewkI
    brMc4CURFT1dWcgaR+BfFqYYj+B3iYX6/n1pmF12WP4PhFp5u7gmjnbABIt1bYj4OrI3
    333w==
    X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of caryngray@mchsi.com designates 97.64.187.17 as permitted sender) smtp.mail=caryngray@mchsi.com
    X-Received: by 10.194.173.10 with SMTP id bg10mr24224315wjc.16.1414432383180;
    Mon, 27 Oct 2014 10:53:03 -0700 (PDT)
    X-Forwarded-To: erratic@netcrave.de
    X-Forwarded-For: paigeadele@gmail.com erratic@netcrave.de
    Delivered-To: paigeadele@gmail.com
    Received: by 10.194.59.202 with SMTP id b10csp342055wjr;
    Mon, 27 Oct 2014 10:53:02 -0700 (PDT)
    X-Received: by 10.107.164.71 with SMTP id n68mr24999042ioe.17.1414432381835;
    Mon, 27 Oct 2014 10:53:01 -0700 (PDT)
    Received: from dsmdc-mail-smtp.mcomdc.com (mail-smtp01.mcomdc.com. [97.64.187.17])
    by mx.google.com with ESMTP id y14si5305023igp.59.2014.10.27.10.52.36
    for ;
    Mon, 27 Oct 2014 10:53:01 -0700 (PDT)
    Received-SPF: pass (google.com: domai

  39. We use DKIM and SPF by dskoll · · Score: 1

    My company (Roaring Penguin) uses SPF for outbound mail and we DKIM-sign our mail too. Our antispam software also supports SPF and DKIM. We don't yet support DMARC, but probably will at some point. The problem with fully supporting DMARC is the reporting component. It's a real bear to send DMARC reports, but obeying DMARC policies is much easier. We'll start by doing DMARC-policy-obeying first and then think about reporting.

  40. DMARC and Mail User Agents conspire to FAIL by dskoll · · Score: 1

    I was involved in some quite heated discussions on the DMARC list about one problem. DMARC is supposed to prevent someone from forging the From: header sender (and to a lesser extent if used with SPF, the envelope sender.)

    The problem is that most MUAs (mail clients) do not show the full email address of the sender. They only show the full name. For example, a header that looks like this:

    From: American Express Fraud Dept <bozo@example.com>

    will be displayed in a typical mail client as just American Express Fraud Dept with not a single complaint from DMARC.

    Even worse, a scammer can use a header like this:

    From: "American Express Fraud Dept - fraud@aexp.com" <bozo@example.com>

    and the mail client will display the fake fraud@aexp.com address with nary a DMARC complaint.

    Mail sucks. User-interfaces suck. People suck. Bah.

  41. Hardening of DKIM and DMARC algorithms by Anonymous Coward · · Score: 0

    Recent advances in DKIM and DMARC hardening algorithms have paved the way for SMPs. The notion that hackers worldwide interfere with the visualization of architecture is often outdated. Continuing with this rationale, The notion that cyberneticists cooperate with adaptive configurations is regularly well-received. Unfortunately, DMARC alone can fulfill the need for suffix trees.

    Motivated by these observations, the understanding of semaphores and random epistemologies have been extensively developed by experts. Two properties make this solution ideal: StoneSaheb can be enabled to simulate stable archetypes, and also StoneSaheb cannot be simulated to prevent pseudorandom theory. But, we view algorithms as following a cycle of four phases: investigation, construction, storage, and refinement. Though similar algorithms evaluate multi-processors, we fix this grand challenge without controlling the construction of write-back caches.

    Cryptographers mostly deploy linked lists in the place of fiber-optic cables [15]. We view steganography as following a cycle of four phases: management, creation, analysis, and investigation. Two properties make this solution perfect: StoneSaheb evaluates local-area networks, and also our algorithm visualizes Moore's Law, without enabling kernels. It should be noted that StoneSaheb learns encrypted modalities. Combined with interactive methodologies, this discussion improves a novel application for the refinement of e-commerce that made refining and possibly refining lambda calculus a reality.

    In this paper, we present an analysis of lambda calculus (StoneSaheb), validating that Boolean logic and Boolean logic are entirely incompatible. Existing optimal and random algorithms use modular algorithms to locate semaphores. It should be noted that our framework is impossible. However, the World Wide Web might not be the panacea that steganographers expected. The basic tenet of this approach is the synthesis of expert systems. Obviously, StoneSaheb turns the autonomous symmetries sledgehammer into a scalpel.

  42. Use MAILP3 instead by Anonymous Coward · · Score: 0

    While DMARC has some record of success I encourage everyone to consider the user of MAILP3. MAILP1 was introduced in 29007 but it had weak authentication and was highly susceptible to bulk spamming. MAILP3 is now used by many large institutions and has all but eliminated spam.

    The problem with DKIM is the number of IT departments that use it as an unofficial standard. Once we Slashdotters promote the use of MAILP3 it can become treated as a best practice for spam prevention.

    1. Re:Use MAILP3 instead by Anonymous Coward · · Score: 0

      I have been using MAILP1 and I see no reasons to upgrade. The MAILP versions 2 and 3 were mostly designed to fix platform compatibility issues.

      If MAILP1 works on your platform, it just works.

      So I will stay with version 1. YMMV

    2. Re:Use MAILP3 instead by Anonymous Coward · · Score: 0

      Maybe Google just doesn't like me right now...but I can't find any information on MAILP 1, 2, or 3...anywhere. Got a link to more info?

    3. Re:Use MAILP3 instead by Anonymous Coward · · Score: 0

      A good overview can be had www.technologyreview.com/unix/packages/mailp3.html

  43. DMARC v12 Improves Security by AmigaUser8 · · Score: 1

    Version 12 of DMARC provides enhanced authentication for protection of the user account. The user finds availability of the multiple security keys. The most important betterness of version 12 over version 11 is the elimination of all possibilities of the man in the middle attack. Many reports of man in the middle attacks still happen so I doubt this advantage. If have the concern of man in the middle attacking of your system, use MAILP3 or an SPF factor of at least 40.

  44. dumb fuck op by Anonymous Coward · · Score: 0

    DKIM ain't about spam, its about spoofing. Grow brain please.

  45. I wish DKIM was delegatable by sabbede · · Score: 1
    I work for a Real Estate company, and we have a nice Exchange setup (with DKIM) through our parent corp. A number of our agents (for mainly silly reasons) prefer to use personal email accounts, so they forward from their corp addresses to their personals. A number of tools they use fall into the category mentioned in the article, so emails are sent "from" their addresses but signed by say, docusign. Then they freak out because they aren't getting contracts.

    That mail from Facebook and LinkedIn don't get delivered isn't a problem, but things like contracts are obviously an issue. Gmail doesn't care, but many of our agents use ISP provided email, like Comcast and BellSouth/AT&T (Yahoo), which silently drop email that fails DKIM checks. If they just went to a spam folder it wouldn't be such a big deal, but no - they insist on dropping without even a bounce.

  46. I got involved by kilodelta · · Score: 1

    With a gubernatorial campaign. First we used one of the big campaigner sites. They are based in Canada. They didn't like that people bitched so we got a pipe from the local provider, setup and outbound smtp server and started from there. Immediately started getting bounces from AOL. Decided it wasn't worth implementing their paradigm.

  47. Wouldn't dare sending emails without em by Anonymous Coward · · Score: 0

    Sending several millions transactional emails per month. Theoretically speaking, I don't know how useful they are or not. Why? because I wouldn't dare sending out emails without them. and why should I? I took some time to configure the appropriate mechanisms and integrate with our third party senders and I see I enjoy good deliverability and no spoofing issues as far as I can see. Why test otherwise? any good real reason not to?

    in all real seriousness, unless your scenario stops you dead-cold from applying DKIM, SPF and DMARC - don't forego using them. play with your e-mail reputation/sender score at your own risk.

  48. Knowing about a seller by tepples · · Score: 1

    If i want to buy a product, I will go to the seller.

    How do you become aware of a seller's existence?

  49. DKIM doesn't break lists. by Anonymous Coward · · Score: 0

    It was Yahoo's - and Aol's - DMARC policies that broke mailing lists. Both published p=reject pct=100 in April of this year.

    DKIM is extremely useful for authentication, and many recipient domains assign sender reputation to authenticated DKIM signatures. DMARC is more about monitoring what kind of traffic is originating from IPs that are not yours, but that bears your domain in the From: address. DMARC is most useful for domains that tend to be used in phish attacks, like financial institutions, large commerce sites, etc.

  50. We have implemented DMARC + DKIM + SPF by TyIzaeL · · Score: 1

    In my org (a high school) we were having issues with spambots using our organization's address in the From: field for spam campaigns. The turning point for us was when a malware payload came with a From: field of the assistant principal addressed to many of our employees. The mail was not from one of our mail servers, but the From field trick some of our users into opening it. With DMARC + DKIM and a strict policy we have eliminated this problem.

    We did have some minor implementation headaches. Our admissions team's spam mailing vendor was non-compliant with DKIM and would not work with us to set up authenticated mail. We resolved our issue with them by making the admissions guys send mail from a more permissive subdomain so that we could implement the strict protections on our primary domain.

    All that said, the implementation was not incredibly difficult. We use Google Apps for our mailing, and a SMTP server on-campus to allow our applications to send mail. Google DKIM+DMARC is easy, and there are plenty of guides on implementing DKIM in Postfix. Overall I think the change has been worth it. I'm a little frightened at all of the abuse reports I see now that otherwise would have gone out in our domain's name.

  51. My experience by vVF4N · · Score: 1

    I use DKIM and DMARC on the email from my domain, so I have some experience. The benefit of DKIM (and SPF) is that the email I send does not automatically get mis-identified as spam. Before implementation, it was. Later I discovered that some spammers were forging the headers in their email to indicate that they were sent from my domain, so I implemented DMARC to see if that would stop it. DMARC is hard to set up and it has problems. Not many email hosts support it, so it is not very useful either. Some of the problems are 1) if you send an email to someone that has an automatic forward to another email account, the signature breaks and the email is rejected at the second account; 2) sending email directly from some applications (Evernote used to be an example) causes the signature to fail and the message will be marked as spam; 3) sending email from your phone will sometimes fail the signature check; 4) newsletters, e.g.Constant Contact, that use your domain as the from address will often fail the signature without special coordination with the provider.