mail.domain.com Defaulting to IPv6. Why? [Case 80257]

wswd

Well-Known Member
Aug 9, 2005
150
28
178
cPanel Access Level
Root Administrator
Hello,

When IPv6 is enabled on an account, mail.domain.com (for checking POP3 and the like) defaults to IPv6. You can test it by pinging mail.domain.com.

I don't want that to happen. I have already disabled IPv6 in EXIM, but that doesn't seem to work. It broke email on my phone, as IPv6 wasn't working appropriately on my phone. I imagine other clients on our servers were experiencing the same, so I had to disable IPv6 temporarily.

Anyone?
 
Last edited:

wswd

Well-Known Member
Aug 9, 2005
150
28
178
cPanel Access Level
Root Administrator
After some further research, it looks like the domain itself also defaults to IPv6. Pinging the domain uses IPv6 instead of IPv4.

- - - Updated - - -

Disregard. This is apparently what Windows does by default. Had to fix that. ;)

On a side note...anyone know how to force an Android phone to use IPv4?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Exim prefers IPv6 over IPv4 by default. There is an internal case open to address this issue and ensure IPv4 is preferred. For reference, the case number is 80257. This change is scheduled for cPanel version 11.40.0.13. You can monitor our change log to see when it's implemented:

cPanel - Change Log

Thank you.
 

radeonpower

Well-Known Member
Jul 23, 2009
165
6
68
Iceland
cPanel Access Level
Root Administrator
Twitter
Hello :)

Exim prefers IPv6 over IPv4 by default. There is an internal case open to address this issue and ensure IPv4 is preferred. For reference, the case number is 80257. This change is scheduled for cPanel version 11.40.0.13. You can monitor our change log to see when it's implemented:

cPanel - Change Log

Thank you.
Yeah, regarding the Changelog, it seems not being updated regularly. I see the latest changes in 11.40.0.9. This seems to happen quite often.

Also regarding the IPv6 in Exim, I would also like to see the option on be able to specify one IPv6 IP Exim uses to send out instead of it using the last added IP(v6) to the system.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Also regarding the IPv6 in Exim, I would also like to see the option on be able to specify one IPv6 IP Exim uses to send out instead of it using the last added IP(v6) to the system.
I recommend opening a feature request for this via:

Submit A Feature Request

It's important to keep in mind that we only support IPv6 for website content at this time. IPv6 support for sending and receiving email will come in a future release.

Thank you.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Michael, according to the changelog, setting IPv6 to Disabled was fixed in 11.40.0.16, but I have 11.40.0.26 and it's not fixed. Can you clarify the situation?

- Scott
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Here is a snippet of the case description:

The default address lookup order in Exim favors IPv6 over IPv4 when both are available. This causes problems for some hosts which are IPv6-enabled but lack PTR records for those IPv6 addresses, causing outgoing mail to be rejected by the destination. Since IPv4 addresses tend to be more well established and properly configured, use IPv4 when possible instead of taking an unnecessary chance with IPv6.
This case was pushed out with cPanel version 11.40.0.16. Does Exim still favor IPv6 on your system? If so, please open a support ticket to let us know. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Hi Michael. Yes, every server that auto-updated to 11.40.0.26 is favoring IPv6. Unfortunately, you can't see it broken, because I had to fix it, so we could deliver mail to GMail (and any other host checking for proper rDNS for IPv6, which our data center doesn't yet support). I had to follow the directions that you specified here:

http://forums.cpanel.net/f5/mail-pu...ss-failing-spam-check-349742.html#post1403282

I still have several boxes that haven't auto-updated. I will open a ticket when those are upgraded and it breaks those...and it will :)

- Scott
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
You are welcome to report this issue and request that we utilize a test server to reproduce it. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Ticket #4414241
To update, it looks like this was happening on cPanel 11.38. The issue is confirmed as fixed in cPanel version 11.40. You can verify the correct Exim RPM is installed with this command:
Code:
# rpm -qa --changelog exim | grep "Prefer IPv4"
- Prefer IPv4 MX over IPv6 when both are available.
Thank you.
 

sneader

Well-Known Member
Aug 21, 2003
1,195
68
178
La Crosse, WI
cPanel Access Level
Root Administrator
Hi Michael. You are right... I'm red-faced. I first saw the problem the exact same day that some of my boxes were auto-updated to 11.40. I put 1+1 together and, well, I was wrong. It is, indeed, the 11.38 boxes that were preferring IPv6, not the 11.40 boxes.

Sorry for the confusion!

- Scott
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Not a problem :) That's what we are here for.

Thank you.