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

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