by camgunz · 2y ago · 0 comments
- Use DKIM, DMARC, and SPF [0]
- Always send at least a text/plain version of your email
- Don't send from an IP previously used to spam
- Don't send gobs of mostly identical emails
[0]: https://www.cloudflare.com/learning/email-security/dmarc-dki...
It sounds nice in theory, in practice I've found it's pretty much impossible to send your own email reliabily.
The cheapest working fix for me is to relay everything through a AWS SES, and magically everything is now accepted. A little frustrating, but that's what the Internet has come to.
Where you gradually send more and more email throughout a few weeks until you have enough good reputation to send your entire volume. This is the part that's outside of normal configuration and takes more time.
In my particular case I was trying to move a system that sends about 5million legitimate emails per month (notifications for a lot of customers) - off of AWS onto a self hosted solution.
We spend about 2k per month just on sending emails and I thought if I spent a few days on it we could save that money.
Unless your IPs have built a reputation it's not going to work. I could gradually migrate volume, monitor the bounce rate, adjust, etc. But that was more work than I could afford to put into that project. I also couldn't risk getting emails sent to spam while I experimented.
https://www.twilio.com/docs/sendgrid/ui/sending-email/warmin...
But, again most people aren't sending 5m emails a month. They'll be totally fine setting up their own email server.
[0]: https://support.google.com/a/answer/81126?visit_id=638526753...
That could be a problem if you don't have a fixed IP