How to bind postfix to an IP / interface?

~ 0 min
07-11-2012 19:32

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. 

Average rating 0 (0 Votes)

You cannot comment on this entry