Fix: Send-Mail: Warning: Inet_protocols: IPv6 Support Is Disabled

Postfix following error occurred during use, we will specify the network protocol IP4 can send-mail:. Warning: inet_protocols : IPv6 support is disabled: Address family not supported by protocol send-mail: warning: inet_protocols: configuring for IPv4 support only postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol postdrop: warning: inet_protocols: configuring for IPv4 support only view the current inet_protocols
# /usr/sbin/postconf | grep inet_protocols
inet_protocols = all
Modify ipv4
# vi /etc/postfix/main.cf
inet_protocols = all
改为
inet_protocols = ipv4
Restart postfix website: operation and maintenance of survival time

Reproduced in: https: //my.oschina.net/766/blog/210973

Guess you like

Origin blog.csdn.net/weixin_34380296/article/details/91547226