# Activation email not received, sometimes, for some people, because DMARC was broken

**URL:** <https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989>\
**Category:** Product Support\
**Created:** [July 26, 2022, 11:09am UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989 "2022-07-26T11:09:53Z")\
**Posts on this page:** 15\
**Page:** 1

## AI-generated summary

Users reported intermittent delays or failures in receiving activation emails, particularly on Gmail, despite successful delivery to other providers or after resending. Initial tests on try.discourse.org and production sites showed inconsistent behavior — some users received emails immediately, others only after resending, and some not at all. Investigations pointed toward Gmail’s unpredictable delivery patterns, with [ClawdiaWolf](/t/-/233989/6) and [Stephen](/t/-/233989/7) confirming this is a common, frustrating issue — especially for new domains or accounts. [Don](/t/-/233989/8) suggested analyzing email headers or server logs for root causes, while [RGJ](/t/-/233989/9) noted greylisting as a possible culprit elsewhere. Eventually, [pfaffman](/t/-/233989/10) discovered the real issue: DMARC was misconfigured for the `notification_email` address. Though a mail-tester score of 9.8/10 seemed acceptable, it masked the underlying DMARC failure. [Stephen](/t/-/233989/11) joked about the pitfalls of trusting numerical scores, prompting [pfaffman](/t/-/233989/12) to lament the oversight — and [Stephen](/t/-/233989/13) to admit his own obsession with perfection might have helped avoid the issue. The thread ends with lighthearted banter, underscoring the frustration and relief of finally identifying the root cause: broken DMARC, not Gmail’s quirks.

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 26, 2022, 11:09am UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/1 "2022-07-26T11:09:53Z")

</div>

I had a complaint that a user had tried multiple times to register but never got a activation email.

I tried on that site and didn’t get an email until I clicked the “resend” button. I saw the same behavior on [try.discourse.org](http://try.discourse.org). I think I’ve seen this for a while but always ignored it.

I haven’t checked the source yet to see if I can find an explanation.

---

<div class="post-metadata">

**Author:** ![Alexander](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alexander/32/497634_2.png) [@Alexander](https://meta.discourse.org/u/Alexander)\
**Post date:** [July 26, 2022, 12:40pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/2 "2022-07-26T12:40:19Z")

</div>

I can’t replicate the behavior on any of my production or test sites 😕

Latest test-passed version, using SendGrid as SMTP provider

At most the emails reach “Promotions” on Gmail but I do not complain

 ![Screenshot_20220726-093133_Chrome](https://global.discourse-cdn.com/meta/original/4X/4/f/4/4f487443d7022b7bc0688407527a8c5551c4ae46.jpeg)  
 ![Screenshot_20220726-093146_Gmail](https://global.discourse-cdn.com/meta/original/4X/b/0/7/b0733c3b67f84110dc2c56f791db40e4e9dcdc66.jpeg)

* * *

Any clues in Logs or Sidekiq?

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 26, 2022, 1:20pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/3 "2022-07-26T13:20:42Z")

</div>

Well, it appears that Gmail didn’t deliver the first message until the second one had been sent. This was the case both on `try` and the site in question.

And then I tested again using mail-tester as the email address and messages were delivered right away. 🤷

Seemed like an unlikely bug, but I guess gmail just slows down mail from new addresses, or something. The user claimed to have tried on several email addresses. . .

---

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [July 26, 2022, 3:13pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/4 "2022-07-26T15:13:38Z")

</div>

Just tried this on try and when I went to Gmail the confirmation email was already waiting for me in the top of my inbox.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 26, 2022, 6:57pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/5 "2022-07-26T18:57:12Z")

</div>

Well, harumph. I have fewer and fewer explanations.

---

<div class="post-metadata">

**Author:** ![ClawdiaWolf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clawdiawolf/32/262518_2.png) [@ClawdiaWolf](https://meta.discourse.org/u/ClawdiaWolf)\
**Post date:** [July 26, 2022, 7:56pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/6 "2022-07-26T19:56:12Z")

</div>

It’s a Gmail thing. For some reason it will randomly delay messages for no apparent reason. I’ve seen this _a lot_ over the years even when sending emails to myself via the web interface.

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [July 26, 2022, 9:33pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/7 "2022-07-26T21:33:38Z")

</div>

Yep we see this regularly with Gmail, particularly on new installations.

It’s a constant source of headache.

We had one install recently where the admin was configured against a new gmail account. It could send email to the site, but never received any. Other gmail accounts could interact without problem.

I guess you get what you pay for.

---

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [July 26, 2022, 10:05pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/8 "2022-07-26T22:05:00Z")

</div>

Hello,

Probably useful if you check the email header when it’s arrive with delay to investigate. [On this site](https://toolbox.googleapps.com/apps/messageheader/) you can check the email’s path with timestamps etc… If the email not received maybe a good idea to check the mail logs for the reason.

---

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [July 26, 2022, 10:12pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/9 "2022-07-26T22:12:38Z")

</div>

I would indeed be very interested to see those message headers. I have never experienced this, not with Gmail and not with other providers, only with providers that implement [greylisting](https://en.wikipedia.org/wiki/Greylisting_(email)) the first message can be delayed.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 28, 2022, 1:03pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/10 "2022-07-28T13:03:49Z")

</div>

As if this topic weren’t allready embarrassing enough . . . . DMARC was broken for the `notification_email` address. I did a mail test, but glossed over the DMARC warning (a 9.8/10 seemed pretty good?)

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [July 28, 2022, 2:42pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/11 "2022-07-28T14:42:34Z")

</div>

Numerical scores are the realm of journalists and salespeople!

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 28, 2022, 6:28pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/12 "2022-07-28T18:28:12Z")

</div>

Indeed. Rub it in, @Stephen! 😿

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [July 28, 2022, 8:35pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/13 "2022-07-28T20:35:43Z")

</div>

Sorry, I’m one of those “so how do I get that last 2%?” types.

Truly it’s a curse. This may be one of the few occasions where it’s justifiable.

If anything it’s the fault of poor score weighing!

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 28, 2022, 8:53pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/14 "2022-07-28T20:53:05Z")

</div>

> [@Stephen](#):
>
> Sorry, I’m one of those “so how do I get that last 2%?” types.

Well, this is one of those times when that curse would be a life saver! 🍺

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [August 27, 2022, 8:53pm UTC](https://meta.discourse.org/t/activation-email-not-received-sometimes-for-some-people-because-dmarc-was-broken/233989/15 "2022-08-27T20:53:26Z")

</div>

Closed on August 27, 2022, 8:53pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
