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

2024-11-25 31阅读 0评论

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

网站:运维生存时间

文章版权声明:除非注明,否则均为奥多云原创文章,转载或复制请以超链接形式并注明出处。

发表评论

快捷回复: 表情:
评论列表 (暂无评论,31人围观)

还没有评论,来说两句吧...

取消
微信二维码
微信二维码
支付宝二维码