i am trying to send email using linux mail command, it does not show any error but its not delivering to the recipient, i am using redhat 5.8 and the command i used is
echo "Hi" | mail -s 'Hi' firstname.lastname@example.org
do i need to configure any redhat file to add smtp?
PS: i have the external smtp ip also but i dont know how to configure the external smtp to send mail using it.
Any help would be greatly appreciated.