1,234
edits
Changes
→MTA for sending (no encryption)
Once you open the port in the firewall - try the telnet command. You should get a different error this time. This time the problem is that your service isn't listening on the outside interface, it's currently configured to listen only on the loopback (lo) interface.
== Listen on all interfaces ==
The first change to the Postfix configuration will be to make it listen for incoming connections on the extrnal intercace, that's eth0 from the VMs point of view.
The configuration file is '''/etc/postfix/main.cf''' Edit it and change '''inet_interfaces''' to '''all'''.
Restart postfix, confirm (with netstat) that it's now listening on all interfaces, not just loopback, and test connecting to it from the host.