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
修改ipv4
# vi /etc/postfix/main.cf
inet_protocols = all
改为
inet_protocols = ipv4
重启postfix
sudo
/etc/init.d/postfix restart
本文介绍了解决Postfix在使用过程中出现IPv6支持被禁用警告的方法。通过将网络协议设置限定为IPv4,可以消除这些警告信息。文章详细展示了如何更改配置文件中的inet_protocols选项,并重启Postfix服务。

3242

被折叠的 条评论
为什么被折叠?



