I get notifications if there are new questions at Stack Overflow in the htmx tag.

But gmail thinks they are spam:


I try to translate:

Gmail could not verify that this email really comes from stackoverflow.email. Please don't click on the links, download no attachments and don't reply with personal data

Button [Looks secure]

Here are the details:

Nachrichten-ID  <4ZDZ5UIITDU4.9KNQ3P6DD1Q72@localhost.localdomain>
Erstellt am:    25. Mai 2021 um 05:46 (Nach 5 Sekunden zugestellt)
Von:    Stack Exchange <do-not-reply@stackoverflow.email>
An: info@[my email].de
Betreff:    New htmx questions for May 25 - Stack Exchange
SPF:    FAIL with IP-Adresse
DKIM:   'FAIL' with Domain stackoverflow.email
  • Sounds like an issue on Gmail's side to me, where their automatic process doesn't recognize the sender? In that case, not sure this is the right site to ask on... – Tinkeringbell May 25 at 8:48
  • 3
    Might be a bug in the signing process. – Shadow The Vaccinated Wizard May 25 at 9:03
  • 6
    The full headers might reveal more, but Gmail stupidly makes it hard to view them. – tripleee May 25 at 9:08
  • 1
    @tripleee huh? Three dots > show original? – Braiam May 25 at 12:03
  • 1
    @Braiam My bad, I was probably mixing Gmail up with one of these other services. Outlook is by far the most abysmal, but several others have incredibly followed suit in making it harder for technical users to see their mail. – tripleee May 25 at 12:13
  • 1
    @tripleee I updated and added the details. – guettli May 25 at 12:37
  • 6
    The problem is that SPF, DKIM and DMARC fail. That is too much fail to be considered as not spam. – rene May 25 at 12:40
  • 1
    @guettli the problem appears to be you're not using actual gmail address, but rather something else and using gmail only as the email client. Try using actual gmail email, and you won't have such problems. – Shadow The Vaccinated Wizard May 25 at 12:42
  • 1
    @ShadowTheVaccinatedWizard yes, I use Gmail only as GUI, and mails get forwarded to Gmail. Nevertheless this works for all other mails. Only these notifications from stackoverflow are false positives. – guettli May 25 at 12:47
  • 2
    DNS txt record serms OK: stackoverflow.email. 300 IN TXT "v=spf1 ip4: ip4: include:sendgrid.net ~all" so whatever happens on receiving on and/or forwarding from is causing an issue in this case. – rene May 25 at 13:00
  • 1
    For the record, the copy/paste of the "human readable" headers is pretty useless; this is by and large what I was complaining about before. If you scroll down you will see the actual headers. – tripleee May 25 at 13:23
  • 1
    @guettli your actual mail provider is the one responsible, not gmail. Nothing SE can do, I'm afraid. – Shadow The Vaccinated Wizard May 25 at 13:59
  • 1
    @ShadowTheVaccinatedWizard but why do all other mails work fine like this since months? – guettli May 25 at 14:07
  • 1
    SPF in particular is known not to be robust under forwarding. Perhaps the other emails you are receiving have a more lenient SPF policy, or none at all. – tripleee May 25 at 14:59
  • 1
    And actually the warning you get says nothing about spam; it just literally reports that the verification failed. – tripleee May 26 at 4:20

You must log in to answer this question.

Browse other questions tagged .