Is your yum managed server missing /bin/mail? If using the sendmail command is overkill and causing problems for simple mail scripts you can install the /bin/mail command with: > sudo yum install mailx