Disable ipv6 for EXIM

HostingH

Well-Known Member
Jan 13, 2008
125
17
68
cPanel Access Level
Root Administrator
Hi,

To disable IPv6 for exim, please go through following steps,

Change following line in exim.conf

Search for :hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0 ; ::1 ; 0000:0000:0000:0000:0000:ffff:7f00:0000/8

and replace it with : hostlist loopback = <; 127.0.0.0/8 ; 0.0.0.0

Restart Exim.

try it.
 

musti19

Well-Known Member
Jan 20, 2013
110
1
68
cPanel Access Level
Root Administrator
thank you for fast replys.

If i do that, then i have problems to send emails:
unable to bind outgoing SMTP call to [ADDITIONAL IP]: Cannot assign requested addressfailed: Cannot assign requested address

(I have a seperate IP for exim)

if i remove the line disable_ipv6 = true,
it works... but then again with ipv6
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
If i do that, then i have problems to send emails:
unable to bind outgoing SMTP call to [ADDITIONAL IP]: Cannot assign requested addressfailed: Cannot assign requested address
This error can happen if the IP address is not bound to the server. Try restarting the "ipaliases" service via:

Code:
service ipaliases restart
Thank you.