inux : inet_protocols: IPv6 support is disabled: Address family not supported by protocol

2021-06-06 16:01

阅读:449

标签:min   stripe   hub   prot   config   mon   ini   support   inux   

在sendmail,命令发送邮件时提示 

inux : inet_protocols: IPv6 support is disabled: Address family not supported by protocol

vim /etc/postfix/main.cf 

inet_protocols = all --改为->inet_protocols = ipv4

service postfix restar

 

1. Edit the main Postfix configuration :

Configuration file
 
/etc/postfix/main.cf

2. Locate the “inet_protocols” statement :

Configuration
# Enable IPv4, and IPv6 if supported
inet_protocols = all  修改为  ipv4

inet_protocols = ipv4

 /etc/init.d/sendmail  stop
/etc/init.d/sendmail  restart
如果为postfix
/etc/init.d/sendmail  restart
 

inux : inet_protocols: IPv6 support is disabled: Address family not supported by protocol

标签:min   stripe   hub   prot   config   mon   ini   support   inux   

原文地址:http://www.cnblogs.com/wplong/p/7338063.html


评论


亲,登录后才可以留言!