Multiple SMTP Server help.
Hi, I need help hoping someone was able to fix this or has experienced this.
So I have 2 shared hosting accounts that allow sending emails.
My domain name is hosted in Cloudflare. Here is the scenario.
The www.domain.com is pointed to a VPS server which works fine.
Instead of installing an SMTP server on that VPS, I want to use the shared hosting accounts SMTP because those shared hosting is just idling.
So I set up MX on Cloudflare and point it to Shared Hosting A which works fine I am able to send and receive email from SH-A.
I also set an MX on Cloudflare for Shared Hosting B (SH-B). Both SH-A and SH-B can receive the same email when I tested it only SH-B has some delay due to MX (priority/weight).
When I use SH-B to send emails to my Gmail account automatically Gmail blocks it saying "unsolicited email blah blah". I check the SH-B IP address if it is blacklisted but it is not. Both SH-A and SH-B are not blacklisted.
What do you think is the problem?
SH-A ---> can send/receive email (working good)
SH-B ---> can receive only
How can I make it so that SH-B can also send an email?
This is my SPF Record:
mail | v=spf1 a -all
Do note that I only send an email to my Gmail for server monitor. I want to learn how to make this possible.
Both SH-A and SH-B have a CRON job checking the VPS server uptime.