How to use sendmail on amazon ec2 linux server

view story

http://stackoverflow.com – I am using amazon Ec2 instance with centos 6.4. I tried this and i got error echo "hello" | sendmail [email protected] sendmail: Cannot open mail:25 How can i fix that error $ ls -l /usr/sbin/sendmail 139512 lrwxrwxrwx 1 root root 21 Jul 1 15:13 /usr/sbin/sendmail -> /etc/alternatives/mta $ man mta No manual entry for mta (HowTos)