You may get this error while trying to send mail from ssh. It means the package is not installed. Try to send mail after installing the package " mailx"
[root@test ~]# mail -v testmail@example.com
-bash: mail: command not found
Fix: # yum install mailx
[root@test ~]# mail -v testmail@example.com
-bash: mail: command not found
Fix: # yum install mailx
No comments:
Post a Comment