I have an issue with correctly setting the SPF record for my own domain. Initially my DNS settings as set by the domainhoster were as follows:
@ TXT "v=spf1 mx ~all"
@ MX 10 mx101.solcon.nl
@ MX 10 mx102.solcon.nl
I tested sending an email and the receiving gmail account gave an SPF soft fail as seen below with the mail ending up in the spam folder.
Received: from mailrelay01.solcon.nl (mailrelay01.solcon.nl [XXXX:XXX:X:XX::XXX]) spf=softfail (google.com: domain of transitioning info@mydomain.com does not designate XXXX:XXX:X:XX::XXX as permitted
I added the IP address that was not designated as permitted to the SPF record.
@ TXT "v=spf1 mx ip6:XXXX:XXX:X:XX::XXX ~all"
However a week later, another one of my mails ended up in gmails spam folder.
Received: from mailrelay04.solcon.nl (mailrelay04.solcon.nl [XXXX:XXX:X:XX::XXX]) spf=softfail (google.com: domain of transitioning info@mydomain.com does not designate XXXX:XXX:X:XX::XXX as permitted
It seems to me that the mailrelay servers are not set as mailservers in my default DNS settings of solcon.nl? Should I add these myself as MX or do I add an include in the SPF record?
include:_spf.solcon.nl