Actually I followed this article and installed Postfix and configured it. But its not sending mail to the entered email address. with the following command I tried to send email.
echo "This is the body of the email" | mail -s "This is the subject line" email@example.com
Anything I missed to do?.