1,234
edits
Changes
→Listen on all interfaces
The configuration file is '''/etc/postfix/main.cf''' Edit it and change '''inet_interfaces''' to '''all'''.
At this point we should also set the string that will end up in the '''From:''' header in messages sent by this server. Change '''mydomain''' to your domain name and and '''myorigin''' to '''$mydomain'''.
Restart postfix, confirm (with netstat) that it's now listening on all interfaces, not just loopback, and test connecting to it from the host.