sendmail: warning: inet_protocols: IPv6 support is disabled
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

Postfix使用过程中出现以上报错 1.修改网络协议为IP4即可

vi /etc/postfix/main.cf

inet_protocols = all改为inet_protocols = ipv4

2.重启postfix,执行以下命令

service postfix restart