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

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