qmail-newmrh: 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 Debian possible default full paths are:

/usr/sbin/qmail-newmrh - from package: qmail
/var/lib/qmail/bin/qmail-newmrh - from package: qmail

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