반응형
If you want to disable IPv6 in linux, You just follow below step.
# vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
# vi /etc/postfix/main.cf
inet_protocols = ipv4
#sudo sysctl -p /etc/sysctl.conf
#postfix reload
When you see this message “postfix/pickup[xxxxx]: fatal: parameter inet_interfaces: no local interface found for ::1”
vi /etc/hosts then remove to “::1″ Line and restart postifx
반응형
'Linux' 카테고리의 다른 글
SaltStack - 1. Basic Install and Join (0) | 2021.02.15 |
---|---|
MySQL/MariaDB - root 계정 초기화/비밀번호 재설정 (0) | 2021.01.25 |
How to Install Squid 3 on Ubuntu (0) | 2020.12.29 |
VSCODE - SSH 원격 연결 with pem for AWS (0) | 2020.12.04 |
IPtable - Syn Flood Protection setting (0) | 2020.12.02 |