I am trying to send emails through Sendgrid SMTP and unfortunately, all emails were landing to spam. Upon checking from mail-tester.com service, I got to know an error message that "You are not allowed to use one of your sender email addresses" with a minus 3 score which I believe is causing the emails to land in the spam folder.
Here's the report URL: https://www.mail-tester.com/web-7n29r&reloaded=2
Sendgrid support is worthless in this case and continuously pestering me to upgrade to a dedicated IP and pro account, while I have no understanding of their platform to make the upgrade.
I did white label all the sending domains and link tracking.
Please help
Best Answer
Your test is correct and by opening the explanation you whould have avoided asking this question.
In order to send mail from Sendgrid your SPF record should have
include:sendgrid.net
.Now it has
include:websitewelcome.com
havinginclude:spf.websitewelcome.com include:spf1.websitewelcome.com include:_spf.google.com
having more includes inside them. This will cause more than 10 DNS queries and the SPF checker will stop. Whether the167.89.106.6
eventually exists in one of these includes doesn't matter, because it won't get there.One way to sanitize these superfluous queries would be querying
TXT
records of what have been included; try to avoid includes that are only doing more includes. Here's a little chart showing all the DNS queries caused by"v=spf1 a mx include:websitewelcome.com include:sendgrid.net ~all"
:All these causes a new DNS query:
include:
only containing moreinclude:
methods.include:
methods also having actualip4
/ip6
methods (green).a
andmx
needs to be queried separately, too.Moreover, this has nothing to do with
MX
records as they are for receiving mail, not for sending. Also, yourA
andMX
are eventually the same server, and could be replaced with singleip4:192.254.236.206
.If you only send mail from this one server and Sendgrid, your minimal SPF record would be:
That would cause only one extra DNS query. If you also send mail from Gmail, that'd be five with