I dont receive or certains email are not sent after setting up mta-sts

What is the name of the domain?

What is the issue you’re encountering

i dont receive or certains email are not sent after setting up mta-sts

What steps have you taken to resolve the issue?

i have checkes Microsoft 365 dns and everything seems fine. I have tried to send me an email from personnal MSFT account to my business account and i do not receive it.

Your MTA-STS file’s content:

version: STSv1
mode: enforce
mx: *.mx.cloudflare.net
max_age: 86400

The mx: line should have the MX hostname(s) for your domain, in your specific case, should be servicesfinanciersmaia-com.mail.protection.outlook.com.

If you deployed Cloudflare’s MTS-STS starter template, the provided template is good when using Cloudflare’s Email Routing service. Since you’re Microsoft 365, you need to edit this to match your own email service provider.

1 Like

Is that the reason why i don’t receive or my sent email are not being delivered ? i’don’t think that is the issue ? i have checked my spf records and apparently they are ok. When i turn off cloudflare, my emails gets delivered.

Hmmm… why did you even set up MTA-STS for your domain to begin with, since there seems to be a lack of basic understanding of what it does?

MTA-STS provides inbound protection, much the same way as DMARC (via DKIM/SPF alignment) provides outbound protection.

At its most basic level, by setting up MTA-STS you’re saying:

  • You only want to receive messages that are TLS encrypted, and
  • Those messages can only be delivered to the email servers specified in the MTA-STS policy file.

I hope you can see why it’s then a problem to have the wrong receiving email servers specified in your MTA-STS policy file!

SPF records are for outgoing emails though.

Well, but who is hosting your MTA-STS policy file and DNS? Isn’t it Cloudflare?

And does turning off Cloudflare also not turn of your MTA-STS implementation?

1 Like

Well, it was working before i migrated to cloudflare. Now that i’m in cloudflare certain emails i am not receving or sending to the sender.

i’m in finance and i need to secure my emails.

So what i want to know is what can i do in cloudflare to fix the situation.

Thanks

I mentioned this in my very first post, which you chose to ignore.

Let me repeat it here before I tune out of this topic:

Here’s your current MTA-STS file’s content:

version: STSv1
mode: enforce
mx: *.mx.cloudflare.net
max_age: 86400

Cloudflare did not set this MTA-STS for you automatically. You did. And you have the wrong mx hostname in there which you need to correct. The mx: line should have your domain’s MX record.

So it should be:

version: STSv1
mode: enforce
mx: servicesfinanciersmaia-com.mail.protection.outlook.com
max_age: 86400

So go to wherever you created your MTA-STS policy file and update the file.

This is what I’ve been saying all along that you’re not listening.

I think i finally did it. i’M sorry i have a base in computer programming. this is kind of new. i’m a one man army.

Can you tell me if there’s anything else. The emails are still not working.

First of all, -

Are you actually using Microsoft Office 365, and expecting to see your emails there?

Patience could very well be the only thing required.

It seems like several modifications has been made, alone within the past couple of hours, in regards to the MTA-STS policy.

MTA-STS policies and other things such as DNS records are often heavily cached, meaning that it will most often take time to propagate.

How exactly aren’t they working?

  1. What exact error code(s)/message(s) do you see?

  2. What exactly does sender (or the Support of sender’s email provider) have to say about the issue?

I finally fix it ! Thank you all for your advice and your patience. took 6 days… but everything is smooth… getting email that i have sent 5 days ago !!! :sweat_smile: