服务器之家:专注于VPS、云服务器配置技术及软件下载分享
分类导航

云服务器|WEB服务器|FTP服务器|邮件服务器|虚拟主机|服务器安全|DNS服务器|服务器知识|Nginx|IIS|Tomcat|

服务器之家 - 服务器技术 - 服务器知识 - Fix: Send-Mail: Warning: Inet_protocols: IPv6 Support Is Disabled

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

2023-08-16 14:33小编 服务器知识

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 supp

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

网站:运维生存时间

延伸 · 阅读

精彩推荐