服务器测试邮件发送时,报如下错误
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
将网络协议指定为IPv4,修改/etc/postfix/main.cnf配置文件
vi /etc/postfix/main.cnf
找到
# Enable IPv4, and IPv6 if supported inet_protocols = all
改为
inet_protocols=ipv4
重启postfix
service postfix restart
本文链接:https://jeff.xin/post/33.html
--EOF--
Comments
发表评论:
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。