Microsoft blokkeert alle e-mails van onze zelf-gehoste Discourse-site (via Mailgun)

After a couple of users complained, I discovered that since Monday our Discourse instance emails (via Mailgun) no longer seem to be getting through to those on Microsoft email tenants. This includes enterprise and general (e.g. hotmail.com, outlook.com).

On testing our deliverability, we didn’t have DMARC set up. This has been fixed, and we have a near perfect deliverability score now on mail-tester.com:

This is the improvement suggestion:

Your message does not contain a List-Unsubscribe header

We don’t have any customisations for our email template.

Traffic to Gmail and other services seems fine; it is just Microsoft, and this seems to be continuing 24hrs after the DMARC fix.

Of note, Mailgun has put out this notice about Microsoft and email:

In summary, if DMARC is set up, we should be fine (but currently are not). While this was meant to kick in on 2025-05-04T12:00:00Z, there is an ominous note that:

Later (date TBD): Expect full rejections for senders who remain non-compliant.

Has anyone else noticed an impact of this with their outgoing emails bouncing? Any suggestions as to how to proceed from here?

3 likes

I’m having the same problem.

But I was held via emailit

3 likes

I don’t think it makes sense to have an unsubscribe link for a test message. All other messages from Discourse do have unsubscribe links. Right?

1 like

Ik ben het ermee eens, hoewel ik denk dat de enige uitzondering mogelijk ingestelde gebruikers zijn, aangezien er geen afmeldingskoppelingen voor hen aanwezig zijn.

1 like

If I understand correctly, the lack of List-Unsubscribe header is just a suggestion from mail-tester.com, not necessarily the reason for the rejection by Microsoft. My guess is that the rejection is more likely to be related to your having sent emails without DMARC configuration in recent past.

When you check your Mailgun logs, what responses do you see from Microsoft for the emails that failed to be delivered?

1 like

I didn’t even know that Mailgun stores logs too - I guess that makes sense! First time I’ve had to delve in there.

This is the rejection reason for almost all of them:

4.7.500 Server busy. Please try again later from [.27]. (S77719) [SY2PEPF00004FF3.ausprd01.prod.outlook.com 2025-06-27T03:22:50.770Z 08DDB10C5071CA89]

And one a slightly more worrying from hotmail.com:

4.7.650 The mail server [.27] has been temporarily rate limited due to IP reputation. For e-mail delivery information, see https://postmaster.live.com (S775) [Name=Protocol Filter Agent][AGT=PFA][MxId=11BB6463522E609D] [CY4PEPF0000EDD1.namprd03.prod.outlook.com 2025-06-27T03:22:41.176Z 08DDB231AE10F67F]

As we seem to have a shared IP address for sending email via Mailgun, and this seems to be the culprit, I’ve put a support ticket in Mailgun. Will report back.

Dit is hun antwoord:

De fout die u ziet, is ESP-throttling, en dit gebeurt wanneer de e-mailprovider van de ontvanger in een korte periode een groot aantal e-mails van een specifiek IP/afzender heeft ontvangen. Hierdoor accepteren ze gedurende een bepaalde periode (meestal een uur; soms een dag) geen berichten meer totdat ze alle e-mails van de oorspronkelijke batch hebben verwerkt. ESP-throttling is een veelvoorkomende gebeurtenis in de e-mailwereld, en wij zijn een van de weinige providers die deze meldingen daadwerkelijk in de e-maillogs weergeven.

De foutcode “4xx” geeft aan dat dit een zachte, tijdelijke bounce is. Wanneer we proberen een bericht af te leveren en de server van de ontvanger een zachte bounce retourneert, proberen we de levering tot 8 uur lang opnieuw in de volgende intervallen: 10 minuten, 10 minuten, 15 minuten, 30 minuten, 1 uur, 2 uur en 4 uur. Deze intervallen kunnen momenteel niet worden aangepast.

Dit probleem zou na verloop van tijd moeten verdwijnen. Als u echter nog steeds geen verbeteringen ziet, neem dan opnieuw contact met ons op! We kijken er dan graag nog eens naar.

Nou, dit strookt niet met het feit dat alle Microsoft-e-maildiensten onze e-mails blokkeren (niet slechts een paar geïsoleerde). Ik laat het weten hoe dit zich verder ontwikkelt, aangezien ik op dit moment niets anders kan doen.

1 like

The line above is essentially saying that there is a reason for the throttling (beyond just receiving a large number of emails), and that is IP reputation. You can find your sending IP from emails Mailgun sends out on your behalf, and check your sending IP reputation (you can find some suggestions here).

If you find that the reputation of your sending IP is poor, you can ask Mailgun to move you to another server.

1 like

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