MS Teams emails are sent to the spam folder because of badly configured SPF
Hello, there seems to be an issue with the emails that are sent by MS Teams - they fail the spam test (specifically the SPF records are not properly set) :
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass email@example.com header.s=selector2-wiley-onmicrosoft-com header.b=ZjKcZ/OV;
spf=fail (google.com: domain of firstname.lastname@example.org does not designate 18.104.22.168 as permitted sender) email@example.com;
dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=microsoft.com
The result is that, by default, all Teams email fall in the spam if you are using a gmail account...
Same issue here.
Joshua Whitlow commented
Found this out today, none of our employees got an email from teams because of this.
Same issue here
Nigel Belham commented
Same issue for me...
Why is this message in Spam? It has a from address that has failed email.teams.microsoft.com's required tests for authentication.
Bertrand Gorge commented
You can test your SPF records here: https://vamsoft.com/support/tools/spf-policy-tester