Simple telnet session fails on OS X
If you do not have a mail server running then there is nothing listening on port 25. Thus connection refused messages. So you need to run the mail server first.

Also unless you work for Amazon your hostname is not .ant.amazon.com  If you do ask your network admins.

And this bit is a comment - I think you need to learn what telnet does before you start trying to run services.