讓 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

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.