Edit file /etc/default/grub
and append ipv6.disable=1
to GRUB_CMDLINE_LINUX
variable. After that, run update-grub2
and reboot
.
May not work 100%. See grub solution.
go and create file /etc/sysctl.d/10-local.conf
with content
# disable ipv6 at all
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
or just exec:
curl https://gist.githubusercontent.com/midlan/30f99c11d509497595773fc82fcc24b2/raw/10-disable-ipv6.conf > /etc/sysctl.d/10-local.conf
go to file /etc/exim4/update-exim4.conf.conf
and remove ::1
from dc_local_interfaces
option