2 ms·
UPDATE: The OP is using GMail. This doesn't apply to her/him but it's still good advice so I'm keeping it up. I think it's also worthwhile to mention DMARC:
by linkregister 11y ago
UPDATE: The OP is using GMail. This doesn't apply to her/him but it's still good advice so I'm keeping it up.
I think it's also worthwhile to mention DMARC: https://dmarc.org/overview/ https://dmarc.org/overview/. Most of the major Email Service Providors (ESPs) support it.
SPF and DKIM signatures are two data points to help form an opinion about whether a message is legitimate. DMARC is your published policy about what to do with email that fails SPF and DKIM. If you have the strictest DMARC policy along with good SPF and DKIM records, and you're signing all your outgoing email correctly with DKIM, then this should solve your problem.
It's recommended to start with the most permissive DMARC settings (p=none) so you can make sure you don't prematurely block your own outgoing email.
I work for one of the larger (by market share) "send email via an API" services. This is a common issue we come across with our customers.
- jsvaughan 11y ago+1 for DMARC - you can set your policy to ask the recipient to reject (or mark as spam) anything that fails the DMARC check. But yes, it is tricky to get right, so go for no action initially and monitor the reports.