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

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