Postfix localhost IP address only bind configuration

Open /etc/postfix/main.cf file:

bash# vi /etc/postfix/main.cf

Append / modify line as follows to bind to localhost (127.0.0.1) only:

inet_interfaces = 127.0.0.1

Type the following to restart Postfix:

bash# /etc/init.d/postfix restart

Leave a Reply