postfix SMTP with Amazon AMI Linux can’t telnet

Hits: 496I followed https://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/ to setup the standard yum installation of Postfix. However, I couldn’t access it from outside the server. telnet yourhost.com 25 gives: “telnet: Unable to connect to remote host: Connection refused” The default main.cf has both of the following uncommented. Clearly the second inet_interfaces = localhost blocks access inet_interfaces = all inet_interfaces = localhost Enjoy …