My email is bouncing!

My email is bouncing!

Now what?

All of a sudden customers are saying "I'm not getting emails from you" or you're receiving bounce messages in your inbox for mails you normally send with no issues. You are not alone - millions of businesses are going through this right now.

The reason is probably a lack of DMARC and DKIM records in your email DNS settings. You probably don't know what these settings are, or what they're supposed to be but I guarantee if you don't have them your mail is currently bouncing at a lot of providers (gmail, yahoo, microsoft, etc).

How do I know if I have DKIM and DMARC set?

DMARC is easy - if you got to https://mxtoolbox.com and enter your domain name it will tell you if DMARC is set up. If it isn't your mail is probably bouncing. The results of an MXToolbox check should show THREE GREEN checkboxes. If any of those checks are red or yellow - something is wrong with your settings. The likelihood is that if dmarc is set up - so is DKIM, as one relies on the other.

A properly configured DMARC domain



What is DKIM?

DKIM is a protocol that email providers are using to ensure that mail sent by you is actually from you. They do this by signing each message using a certificate that your DNS (Domain Name Service) points to. The public part of the key is referred to in DNS and a private key is encoded with the message and added to the message by the mail server that is sending. The receiving server validates that private key against your public key before passing mail along. The DKIM doesn't guarantee your mail account wasn't compromised, but it DOES guarantee that spoofed mail sent from other mail servers is rejected.

What is DMARC?

DMARC is a method of reporting failures back to your domain. That way if someone is spoofing mail from you - you will know, but also if you have mail that bounces that shouldn't you'll have a way to determine why. In general, we only monitor this mailbox in the latter case. Spoofs and fake messages and spam happen all the time, but legit mail that bounces is a concern we want to address. We use the DMARC reports to do that. DMARC reports aren't "human readable" - they are sent as JSON data that needs to be interpreted. Generally, only an email expert can read these, or a tool designed to decode them.

So how do I set these?

You probably... don't. Unless you're an email and DNS expert setting these up is a multistep process that involves:

  • Creating a mailbox to accept DMARC reports - if you have more than one domain name you'll need a mailbox, DKIM records and DMARC records for each domain.
  • Creating a reference to 2 secure certificates used to validate that your mails are coming from you. (DKIM) - get instructions from your email provider, or provision these with secure certificates generated for you. Add the reference to these in DNS, and validate that mail is being signed in your email tenant admin.
  • Validating your SPF records indicate all the valid sources for email to come from. SPF is a text record that tells mail servers where valid email sources are for your domain. You can check your SPF records at the mxtoolbox site as well.
  • Adding an _dmarc record to your DNS - This record tells remote mail servers what to do with email that is from an improper source (SPF mismatch) or not signed (DKIM mismatch) and who to report failures to. You can create DMARC example records at easydmarc.org
  • Doing them in a specific order so that your mail doesn't bounce because one if them isn't set up yet and you configure the next one, mail just stops being delivered.

My recommendation is that your email provider assist you with this. You or they will need global access to your email tenant and access to the defender portal on Microsoft's site (if you use MS365), you need registrar access to your DNS records as well. Gmail and other providers have a similar setup. If you're using a generic free account like gmail.com or outlook.com you don't have to worry about this.

Is your mail provider also your web host? Well good luck - most web hosting services have only a rudimentary knowledge of how email works.

Does your website send out mail on your behalf (contact forms etc)? Be sure it's included in the SPF record, and that you either have a connector set up to validate mail from that site, or that you're using an authenticated login to relay the mail.

The good news is that in general, once these are set up, you are good to go - no additional attention or maintenance is needed, unless mails start bouncing again.

The bad news is that if you use 3rd party email tools like constant contact, hubspot, or mailchimp - you're going to need to go through all the same setup steps with their domains or your email campaigns may start bouncing.


John L.

CEO Evermight

7 个月

Good post! It wasn't clear how you would set up a dmarc visualizer to analyze all the dmarc aggregate reports. If it helps, we created a 6 minute tutorial showing how to set one up with a free and open source platform called elasticsearch: https://youtube.com/playlist?list=PLPatHYWw1RVvny6uCbbWxqIeCdGm04iEO&si=gye3MobeP4LGbNG8 .

回复

要查看或添加评论,请登录

Lee Drake的更多文章

  • Robots are taking over the Nazareth University Golisano Training Center!

    Robots are taking over the Nazareth University Golisano Training Center!

    Rochester, NY October 26th -- FIRST ? Robotics Competition Team 1511 Rolling Thunder from Penfield, N.Y.

    1 条评论
  • Microphone Drop

    Microphone Drop

    I'm retiring For over 42 years I have been getting up every morning, putting my tech support hat on, or my owners hat…

    48 条评论
  • Don't use oneDrive to share files for collaboration!

    Don't use oneDrive to share files for collaboration!

    As usual Microsoft terminology and structure makes some things more confusing than they need to be. Microsoft has a…

  • Microsoft unbundles teams

    Microsoft unbundles teams

    Which means teams users will be paying more for the privilege. Microsoft has unbundled teams from the costs of…

    13 条评论
  • Safer browsing

    Safer browsing

    The safest way to browse is built into windows 10/11 (except for windows home machines)! In these days of powerful…

  • How cloud backup saved my bacon

    How cloud backup saved my bacon

    So your business data is in the cloud - oneDrive, Exchange online, google drive, google apps, etc. It's safe right?…

  • Updating windows applications

    Updating windows applications

    A useful tip for keeping Windows applications up to date If you have a windows computer, no doubt you have tons of…

  • 2FA and you

    2FA and you

    12 tips for better two factor authentication management These days if you haven't heard of 2fa (2 factor…

  • Web Browser best practices

    Web Browser best practices

    4 Things you can do to reduce web based threats We all use a web browser every day to help us with tasks. But did you…

    1 条评论
  • If you are on MS365 - delete Chrome

    If you are on MS365 - delete Chrome

    Why Chrome is a danger to your organization Chrome is a very popular browser. Among home stand-alone users it's…

    2 条评论

社区洞察

其他会员也浏览了