razrdj

Active Member
Oct 1, 2013
26
1
3
cPanel Access Level
Root Administrator
I just enabled shared IPV6 in 54.0. I want to force the email servers to first communicate over IPv6.

All mails send to GMAIL ends up in the spam folder because there is no SPF record in the DNS zone. Does cPanel not automatically create an IPv6 SPF for all domains?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
All mails send to GMAIL ends up in the spam folder because there is no SPF record in the DNS zone. Does cPanel not automatically create an IPv6 SPF for all domains?
Hello :)

SPF records are not added by default unless you have enabled "Enable SPF on domains for newly created accounts" in "WHM >> Tweak Settings". Is the record properly added when you generate a SPF record for the account via the "Email Authentication" option in cPanel? If so, you can enable SPF records for all accounts using the instructions at:

rebuild spf records

Thank you.
 

razrdj

Active Member
Oct 1, 2013
26
1
3
cPanel Access Level
Root Administrator
No. I already enabled SPF on new accounts since I installed the server. I just disabled SPF on a account and re-enabled it. It only generates an SPF record with IPv4 address but not IPv6
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Internal case CM-1224 is open to address the issue where SPF records added to zones no longer contain the IPv6 address assigned to the account. There's no specific timeline on the resolution, but I will update this thread with more information as it becomes available. The current workaround is to manually edit the TXT entry for the SPF record to include the IPv6 address. EX:

Code:
"v=spf1 a mx ip4:XX.XX.X.XX ip6:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX ~all"
Thank you.
 

razrdj

Active Member
Oct 1, 2013
26
1
3
cPanel Access Level
Root Administrator
I will wait for a fix then. There are just too many domains to edit. Or is there a script that does this automatically for every domain?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
I will wait for a fix then. There are just too many domains to edit. Or is there a script that does this automatically for every domain?
There's no script to automate the addition, but you could write a custom bash command that manipulates the DNS record. EX:

Bulk DNS Zone Update

Thank you.
 

TCB13

Well-Known Member
Jul 25, 2014
62
1
8
cPanel Access Level
Root Administrator
Any update on this issue? I'm facing the same problem. cPanel doesn't add the IPv6 to the SPF record... (on version 56)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello :)

There's no update to report at this time, however I've linked this thread to the internal case, and will update this thread with more information as it becomes available.

Thank you.
 

TCB13

Well-Known Member
Jul 25, 2014
62
1
8
cPanel Access Level
Root Administrator
I don't get it, this is a simple fix for you just add the shared IPv6 to the default addresses list ... this is critical I already got some clients complaining about email delivery failures because the IPv6 wasn't on the SPF record...
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello,

I've made an additional note to the internal case regarding this issue, and will update this thread with more information as it becomes available.

Thank you.
 
Thread starter Similar threads Forum Replies Date
bellwood Email 12
K Email 19
E Email 4
chrismfz Email 2
W Email 3