Getting mail past Gmail: SPF, DKIM, DMARC
Self-hosted mail is still doable. The checklist: correct PTR record, SPF with -all, DKIM via opendkim, and a DMARC policy starting at p=none with reports.
v=spf1 mx -all _dmarc TXT "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.org"
After two weeks of clean reports I moved to quarantine.