1. 首页 > 服务器运维

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

Postfix使用过程中出现如下报错,我们将网络协议指定为IP4即可.

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

查看当前inet_protocols

# /usr/sbin/postconf | grep inet_protocols
inet_protocols = all

修改ipv4

# vi /etc/postfix/main.cf
inet_protocols = all
改为
inet_protocols = ipv4

重启postfix

网站:运维生存时间

本文由主机测评网发布,不代表主机测评网立场,转载联系作者并注明出处:https://zhuji.jb51.net/yunwei/8190.html

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:8:30-17:30,节假日休息