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

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