Tag Archives: 127.0.0.1

Bind postfix to specific IP address

A short note on postfix and how to bind postfix to listen to a specific IP address, to localhost 127.0.0.1 in this case:

Edit the file /etc/postfix/main.cf:

inet_interfaces = 127.0.0.1

Save and exit the file.
Restart postfix

# /etc/init.d/postfix restart

Verify:

# netstat -ltn |grep 25
Posted in Linux | Tagged , , , , | 1 Comment