I have a simple vps server that i'm using to send confirmation emails from.
The problem is that sometimes when i send a confirmation email it ends up in spam with sender ip different than the ip of a sender when it ends up in inbox.
When i type hostname -I
in cli i get two ips, one v4 the other v6(i think):
78.xx.xxx.xxx 2a01:xxx:xxx:4c9b::1
The first one ends up in inbox, the second one ends up in spam.
This is my spf record value:
v=spf1 a mx ip4:78.xx.xxx.xxx ip6:2a01:xxx:xxx:4c9b::1 include:zoho.eu ~all
When it ends up in inbox
it looks like this (gmail):
SPF: PASS with IP 78.xx.xxx.xxx
DKIM: 'PASS' with domain example.com
DMARC: 'PASS'
When it ends up in spam
it looks like this (gmail):
SPF: PASS with IP 2a01:xxx:xxx:4c9b:0:0:0:1
DKIM: 'PASS' with domain example.com
DMARC: 'PASS'
Also when it ends up in spam this is what Google prompts me with:
It is similar to messages that were identified as spam in the past.
I am using Postfix
and Laravel 7
and the default template for email confirmation from Laravel. I have all the records that Google asked for (spf, dkim, dmarc).
Is the problem coming from having two ips when i type hostname -I
? Is it coming from Laravel's default template?
What should i do? What can i do? Thank you!