send-mail: warning: inet

xiaoxiao2021-02-28  4

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

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

修改ipv4

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

重启postfix

sudo /etc/init.d/postfix restart

转载请注明原文地址: https://www.6miu.com/read-200370.html

最新回复(0)