SPF, DKIM & the art of not landing in spam
Getting outbound mail to pass at the big providers — reverse DNS, signing keys, alignment, and a healthy respect for port 25.
Running your own mail server is easy. Getting it delivered is the hard part.
The checklist that mattered:
- A correct PTR record (reverse DNS) matching the mail host.
- SPF authorising the sending IP.
- DKIM signing every outgoing message.
- DMARC to tie it together and get reports.
Pass all four and Gmail stops sending you to the junk folder.