qmail-qmtpd: 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-qmtpd - from package: qmail
/var/lib/qmail/bin/qmail-qmtpd - from package: qmail

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