Disable IPv6 Linux (CentOS)

If you want to disable IPv6 in linux, You just follow below step.

 

# vi /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

 

# vi /etc/postfix/main.cf

inet_protocols = ipv4

 

#sudo sysctl -p /etc/sysctl.conf

#postfix reload

 

When you see this message “postfix/pickup[xxxxx]: fatal: parameter inet_interfaces: no local interface found for ::1”

vi /etc/hosts then remove to::1″ Line and  restart postifx

 

Facebook Comments

Leave A Reply

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다.