I have mail successfully working using postfix/dovecot. However, I realized that when mailing to GMAIL and connecting via ipv6 address for my linode, gmail SPF headers show that it is a softfail. It works perfectly when it connects via ipv4, my standard linode address. I have set up SPF records, trying numerous combinations. The only way I could squelch this for now was to completely disable ipv6. Does anyone know if there is a solution or if I am just doing something wrong? Any help is greatly appreciated. DNS is syntactically OK and so is the SPF txt record according to tools i have used.
I set reverse dns in linode for the ip4 and ip6 pointing to my main host dags.io
DNS Zone File, including TXT record.
; dags.io [570724]
$TTL 86400
@ IN SOA ns1.linode.com. dave.dags.io. 2014050849 14400 14400 1209600 86400
@ NS ns1.linode.com.
@ NS ns2.linode.com.
@ NS ns3.linode.com.
@ NS ns4.linode.com.
@ NS ns5.linode.com.
@ MX 1 dags.io.
@ MX 1 iver.dags.io.
@ TXT "v=spf1 a mx ip4:50.116.36.39 ip6:2600:3c02::f03c:91ff:fe6e:3d73 ~all"
@ A 50.116.36.39
iver A 50.116.36.39
mail A 50.116.36.39
www A 50.116.36.39
yum A 50.116.36.39
@ AAAA 2600:3c02::f03c:91ff:fe6e:3d73
iver AAAA 2600:3c02::f03c:91ff:fe6e:3d73
mail AAAA 2600:3c02::f03c:91ff:fe6e:3d73
www AAAA 2600:3c02::f03c:91ff:fe6e:3d73
yum AAAA 2600:3c02::f03c:91ff:fe6e:3d73
IPv6 Failed SPF GMAIL Header
Return-Path: <dave@dags.io>
Received: from iver (dags.io. [2600:3c02::f03c:91ff:fe6e:3d73])
by mx.google.com with ESMTP id z46si2526127yhl.4.2014.05.08.11.02.07
for <davedags@gmail.com>;
Thu, 08 May 2014 11:02:07 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning
dave@dags.io does not designate 2600:3c02::f03c:91ff:fe6e:3d73 as permitted sender) client-ip=2600:3c02::f03c:91ff:fe6e:3d73;
IPv4 WORKING SPF GMAIL Header
Received: from iver (dags.io. [50.116.36.39])
by mx.google.com with ESMTP id t64si2495603yhd.78.2014.05.08.11.01.20
for <davedags@gmail.com>;
Thu, 08 May 2014 11:01:20 -0700 (PDT)
Received-SPF: pass (google.com: domain of
dave@dags.io designates 50.116.36.39 as permitted sender) client-ip=50.116.36.39;