A long time ago I posted a question here: Postfix: Gmail marking my email as spam where I said that although emails send from my servers were passing all the DKIM and SPF tests they were getting deliver to SPAM on Gmail.
Two days ago I was configuring a new system and noticed a very strange thing related to SPF — without any SPF TXT record on the DNS Zone, the email are delivered to Inbox and with SPF defined the are getting delivered on SPAM.
My SPF entries are like this:
domain.dev. IN TXT "v=spf1 ip4:x.x.x.x ip6:x:x:x:x::x -all"
Isn't SPF record for the domain correct? If not what is wrong?
Every time I place that line on my DNS zone, Google starts delivering my email to SPAM, and even more interesting is what Gmail says about the emails.
Test email sent with SPF:
spf=pass (google.com: domain of [email protected] designates x.x.x.x as permitted sender) [email protected];
=> Delivered to SPAM box.
Test Email sent without SPF:
spf=pass (google.com: best guess record for domain of [email protected] designates x.x.x.x as permitted sender) [email protected];
=> Delivered to inbox.
Anyway has experienced this before? Is my SPF wrong? Thank you!
0 Answers