kernow

Well-Known Member
Jul 23, 2004
1,020
62
178
cPanel Access Level
Root Administrator
I couldn't find any recent posts on this subject. So, is it possible to use IPv6 to send/receive mail yet? It looks to me that cPanel still forces exim to use IPv4.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @kernow,

There's no change since the time of the following post:

Exim & IPv6 - 68.0.21

I recommend voting for the feature request linked on the post above to track when IPv6 support for Exim is added.

Thank you.
 

kernow

Well-Known Member
Jul 23, 2004
1,020
62
178
cPanel Access Level
Root Administrator
Hello @kernow,

There's no change since the time of the following post:

Exim & IPv6 - 68.0.21

I recommend voting for the feature request linked on the post above to track when IPv6 support for Exim is added.

Thank you.
I almost fell off my chair when I went to that link and saw the first post asking for IPv6 support in all areas, its dated four years ago!! and its still not available ?? !!
Good grief! ( me shakes head in disbelief )
 

kernow

Well-Known Member
Jul 23, 2004
1,020
62
178
cPanel Access Level
Root Administrator
@executorbrandon thanks for the link.
Well its a small step forward, but this means all mail accounts sending email from the same single IPv6 address. We have too many accounts with dedicated IPs for this to be useful for us :(
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
549
255
138
IN
cPanel Access Level
Root Administrator
Mar 27, 2020
12
0
1
Cranberry Twp, PA
cPanel Access Level
Root Administrator
@executorbrandon thanks for the link.
Well its a small step forward, but this means all mail accounts sending email from the same single IPv6 address. We have too many accounts with dedicated IPs for this to be useful for us :(
To actually give each email account a dedicated IP is a little trickier where you would have to create your own router and transport within Exim. I do that in an opposite way where if the recipient is a certain email address, I route the message to a transport that uses a specific IP.
 
Mar 27, 2020
12
0
1
Cranberry Twp, PA
cPanel Access Level
Root Administrator
@executorbrandon
Have you tested yourself? Is it working for you?



Because I tried the above article but still mails are routing from IPv4 in cPanel v92.
I have not tested that specific way but a while back I managed to get it working with ipv6 via hardcoding the exim.conf file but I'm getting a test VPS tomorrow and going to test it the referenced way. For now in theory it should work if you have the following correct.

Did you set the "Reference /etc/mailips for custom IP on outgoing SMTP connections" to "On" under Exim Basic Configuration? They didn't mention that but it's needed.

Via your terminal, run a ping6 ipv6.google.com to make sure it's reachable then check /etc/sysconfig/network-scripts/ifcfg-eth0 to see if yourIPv6 is on the IPV6ADDR line.

Check Exim Advanced Editor to make sure disable_ipv6 is not set to true.

After everything is set restart exim or even the a graceful server reboot to be sure and send a test should be good to go.
 
Last edited:

kernow

Well-Known Member
Jul 23, 2004
1,020
62
178
cPanel Access Level
Root Administrator
This still won't work. I would point out that 'Reference /etc/mailips' is in Exim configuration not 'tweak settings'. Also if you have 'Send mail from the account’s IP address' then the option to turn on/off 'Reference /etc/mailips' is unavailable.
AFAIK the following link comments on sending mail through IPv6 ( SADLY :( ) still stands: cPanelLauren post
 
Mar 27, 2020
12
0
1
Cranberry Twp, PA
cPanel Access Level
Root Administrator
This still won't work. I would point out that 'Reference /etc/mailips' is in Exim configuration not 'tweak settings'. Also if you have 'Send mail from the account’s IP address' then the option to turn on/off 'Reference /etc/mailips' is unavailable.
AFAIK the following link comments on sending mail through IPv6 ( SADLY :( ) still stands: cPanelLauren post
That comment/thread was created by me last year then I got the IPv6 working for SMTP via creating my own router and transport with a custom ipv6 interface.
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
549
255
138
IN
cPanel Access Level
Root Administrator
I have not tested that specific way but a while back I managed to get it working with ipv6 via hardcoding the exim.conf file but I'm getting a test VPS tomorrow and going to test it the referenced way. For now in theory it should work if you have the following correct.
Any luck on testing?
 
Mar 27, 2020
12
0
1
Cranberry Twp, PA
cPanel Access Level
Root Administrator
I was able to hardcode in the IPv6 the exim.conf as I did before however it will always change when you update cPanel or edit the Exim Basic Configuration unless you lock the file. Secondly whoever answered the Can you change the Exim outgoing IPv4 address to an IPv6 address? question has been mistaken because the mailips do not actually get referenced at all for IPv6. I am in contact with my hosting provider and they are also looking into the issue.

------------------------------------------

Thank you for contacting us today.
As per your updates, we understood that you wish to change Exim outgoing IPv4 address to the IPv6 address.
We are checking the possibilities to change Exim outgoing IPv4 address to the IPv6 address and will get back to you with an update shortly. Please standby.

In the meantime, your patience would be highly appreciated.

Edward Kline
Tier 2 Technical Support
 
Mar 27, 2020
12
0
1
Cranberry Twp, PA
cPanel Access Level
Root Administrator
The following answer is incorrect and needs to be removed: Can you change the Exim outgoing IPv4 address to an IPv6 address? Currently IPv6 is not supported for Exim. This has been confirmed by several Tier 4 Technical Support reps. See caption below:

----------------------------------------------------------------------------


Hello,

Thanks for the update. We hope that cPanel will consider this feature request and will enable the IPv6 support soon. Please get back to us if you have any valuable feedback regarding this.

Nicholas Greenwood
Tier 4 Technical Support

Hostwinds
 
Thread starter Similar threads Forum Replies Date
bellwood Email 12
K Email 19
IndicHosts.net Email 1
kiti Email 1
R Email 2