讓 postfix 只用 ipv4

編輯 /etc/postfix/main.cf

# vi /etc/postfix/main.cf
# Enable IPv4, and IPv6 if supported
# inet_protocols = all
inet_protocols = ipv4

重啟 postfix 服務即可

# systemctl restart postfix