newaliases.ssmtp: 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/newaliases.ssmtp - from package: ssmtp

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