I am using amazon Ec2
instance with centos 6.4
. I tried this and i got error
echo "hello" | sendmail turnip21@gmail.com
sendmail: Cannot open mail:25
How can i fix that error
Some more info
$ 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