sasl-sample-server: 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/sasl-sample-server - from package: sasl2-bin

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