How to bind postfix to an IP / interface?

Also a pretty basic thing, here you are:

Edit the with your favorite editor, for me that is vi and on Debian the file path goes like that:

vi /etc/postfix/

 Look for: inet_interfaces

To bind postfix to all interaces, use:

inet_interfaces = all

For a single or multiple addresses do this:

inet_interfaces =,

After changing config, restart postfix and use netstat -lpn to see if the change was successful. 

You cannot comment on this entry