rsmtp.exim: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/rsmtp.exim - from package: exim

You may install the required package with command yum install {package}
Error in other languages:
rsmtp.exim: bevel nie gevind nie
rsmtp.exim: comandă negăsită
rsmtp.exim: comando não encontrado
rsmtp.exim: commande introuvable
rsmtp.exim: command not found
rsmtp.exim: käsku ei ole
rsmtp.exim: không tìm thấy lệnh
rsmtp.exim: komanda nerasta
rsmtp.exim: Kommando nicht gefunden.
rsmtp.exim: kommandot finns inte
rsmtp.exim: komut yok
rsmtp.exim: nie znaleziono polecenia
rsmtp.exim: níor aimsíodh an t-ordú
rsmtp.exim: no se encontró la orden
rsmtp.exim: no s'ha trobat l'ordre
rsmtp.exim: opdracht niet gevonden
rsmtp.exim: parancs nem található
rsmtp.exim: perintah tidak ditemukan
rsmtp.exim: príkaz nenájdený
rsmtp.exim: příkaz nenalezen
rsmtp.exim: команда не найдена
rsmtp.exim: командата не е открита
rsmtp.exim: 命令找不到
rsmtp.exim: コマンドが見つかりません