I'm doing a little research on how you can run your own e-mail server for your domain. I know that you can use Zoho, or gmail, or any other alternative. However, I'm wondering if it's possible to do it on your own - especially for a non-busy domains. Disclaimer: I am not in an unsolicited e-mail business.
I'm using the VPS from my current hosting provider. I've set up iRedMail which is basically a collection of open source pieces to run the full system automatically.
I set SPF record (very strict), I configured dkim, I added dmarc. I've added domain to google postmaster tools. I've checked, that my IP address is not blacklisted for junk mail.
The only recommendation that I decided not to follow was setting up a reverse DNS record for my IP address. I know how to do it, my hosting provider allows to do it, but my ultimate goal is to run multiple domains on single server/iredmail installation. And my hosting provider doesn't let me use multiple IPs on single VPS. So, even if I change PTR so that my IP address matches my first domain name, it won't match all of the others.
Almost everything works. I can send the mail, I can receive the mail. However, gmail is blocking me for 421-4.7.28 UnsolicitedRateLimitError reasons, which is silly, because I sent like 5 emails in total and all of them 1) at different times 2) to myself only - to test how it works.
My question is: am I missing something in configuration and there's actually a way to get those e-mails delivered to gmail without 12-24 hour delays? Or reverse PTR is critical for e-mail health and gmail won't accept e-mails unless the originating IP address is matching the sender's domain?
I read gmail guidelines, and since I'm not sending any bulk e-mail (and not really planning), the only thing I haven't done is the PTR record.
P.S. I'm using ipv4 (if it matters).